mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Cleaned up modals in the UI.
added empty modal for episode info
This commit is contained in:
@@ -26,7 +26,7 @@ require.config({
|
||||
}
|
||||
});
|
||||
|
||||
define('app', function () {
|
||||
define('app', ['shared/modal/region'], function (ModalRegion) {
|
||||
|
||||
window.NzbDrone = new Backbone.Marionette.Application();
|
||||
window.NzbDrone.Config = {};
|
||||
@@ -49,6 +49,10 @@ define('app', function () {
|
||||
RootFolders: {}
|
||||
};
|
||||
|
||||
window.NzbDrone.Episode = {
|
||||
Search: {}
|
||||
};
|
||||
|
||||
|
||||
window.NzbDrone.Quality = {};
|
||||
|
||||
@@ -77,9 +81,6 @@ define('app', function () {
|
||||
window.NzbDrone.History = {};
|
||||
|
||||
window.NzbDrone.Events = {
|
||||
//TODO: Move to commands
|
||||
OpenModalDialog : 'openModal',
|
||||
CloseModalDialog: 'closeModal',
|
||||
SeriesAdded : 'seriesAdded'
|
||||
};
|
||||
|
||||
@@ -99,7 +100,8 @@ define('app', function () {
|
||||
|
||||
NzbDrone.addRegions({
|
||||
mainRegion : '#main-region',
|
||||
notificationRegion: '#notification-region'
|
||||
notificationRegion: '#notification-region',
|
||||
modalRegion : ModalRegion
|
||||
});
|
||||
|
||||
window.NzbDrone.start();
|
||||
|
||||
Reference in New Issue
Block a user