mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Cleaned up modals in the UI.
added empty modal for episode info
This commit is contained in:
parent
7cf7b5e051
commit
27fc51da48
16 changed files with 118 additions and 67 deletions
12
UI/app.js
12
UI/app.js
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue