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:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user