1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

making modals event driven,

This commit is contained in:
Keivan Beigi
2013-07-23 18:15:58 -07:00
parent 121f3b973d
commit 62cea8de5e
18 changed files with 100 additions and 53 deletions
+10 -4
View File
@@ -39,11 +39,17 @@ define(
});
app.addInitializer(function () {
app.addRegions({
modalRegion : region
require(
[
'Shared/Modal/Controller'
], function () {
app.addInitializer(function () {
app.addRegions({
modalRegion: region
});
});
});
});
return region;
});