fixed modal dialog.

This commit is contained in:
kay.one
2013-02-15 16:49:25 -08:00
parent 6a7e346bf2
commit 90332b8f01
7 changed files with 41 additions and 13 deletions

View File

@@ -27,12 +27,6 @@
});
define('app', function () {
//window.$ = jquery;
//window.jquery = jquery;
//window.Backbone.ModelBinder = modelBinder;
//window.Backbone.Marionette = marionette;
//window.Handlebars = handlebars;
window.NzbDrone = new Backbone.Marionette.Application();
window.NzbDrone.Series = {};
@@ -45,6 +39,11 @@ define('app', function () {
window.NzbDrone.Quality = {};
window.NzbDrone.Shared = {};
window.NzbDrone.Events = {
OpenModalDialog :'openModal',
CloseModalDialog : 'closeModal'
},
window.NzbDrone.Constants = {
ApiRoot: '/api'
};
@@ -68,7 +67,6 @@ define('app', function () {
titleRegion: '#title-region',
mainRegion: '#main-region',
notificationRegion: '#notification-region',
modalRegion: '#modal-region'
});
});