mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
modal region is loaded by controller
This commit is contained in:
13
UI/app.js
13
UI/app.js
@@ -164,9 +164,8 @@ require.config({
|
||||
define(
|
||||
[
|
||||
'marionette',
|
||||
'shared/modal/region',
|
||||
'Instrumentation/StringFormat',
|
||||
], function (Marionette, ModalRegion) {
|
||||
'Instrumentation/StringFormat'
|
||||
], function (Marionette) {
|
||||
|
||||
var app = new Marionette.Application();
|
||||
|
||||
@@ -179,14 +178,12 @@ define(
|
||||
SaveSettings: 'saveSettings'
|
||||
};
|
||||
|
||||
|
||||
app.addInitializer(function () {
|
||||
console.log('starting application');
|
||||
});
|
||||
|
||||
app.addRegions({
|
||||
mainRegion : '#main-region',
|
||||
modalRegion : ModalRegion,
|
||||
footerRegion : '#footer-region'
|
||||
});
|
||||
|
||||
@@ -200,9 +197,3 @@ define(
|
||||
|
||||
return app;
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user