mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
moved add series to require.
This commit is contained in:
parent
24c77b4047
commit
72772bed5a
16 changed files with 181 additions and 185 deletions
|
@ -1,23 +1,25 @@
|
|||
"use strict";
|
||||
define(['app',
|
||||
'Settings/SettingsLayout',
|
||||
'Form/FormBuilder',
|
||||
'AddSeries/AddSeriesLayout',
|
||||
'Series/Index/SeriesIndexLayout',
|
||||
'Calendar/CalendarLayout',
|
||||
'Shared/NotificationView',
|
||||
'Shared/NotFoundView',
|
||||
'MainMenuView',
|
||||
'Series/Details/SeriesDetailsLayout',
|
||||
'Series/EpisodeCollection',
|
||||
'Logs/Layout',
|
||||
'Release/Layout',
|
||||
'Missing/MissingLayout',
|
||||
'History/HistoryLayout',
|
||||
'Shared/FormatHelpers',
|
||||
'Shared/TemplateHelpers',
|
||||
'Shared/Footer/View'],
|
||||
function (App, SettingsLayout) {
|
||||
define(
|
||||
[
|
||||
'app',
|
||||
'Settings/SettingsLayout',
|
||||
'AddSeries/AddSeriesLayout',
|
||||
'Form/FormBuilder',
|
||||
'Series/Index/SeriesIndexLayout',
|
||||
'Calendar/CalendarLayout',
|
||||
'Shared/NotificationView',
|
||||
'Shared/NotFoundView',
|
||||
'MainMenuView',
|
||||
'Series/Details/SeriesDetailsLayout',
|
||||
'Series/EpisodeCollection',
|
||||
'Logs/Layout',
|
||||
'Release/Layout',
|
||||
'Missing/MissingLayout',
|
||||
'History/HistoryLayout',
|
||||
'Shared/FormatHelpers',
|
||||
'Shared/TemplateHelpers',
|
||||
'Shared/Footer/View'
|
||||
], function (App, SettingsLayout, AddSeriesLayout) {
|
||||
var controller = Backbone.Marionette.Controller.extend({
|
||||
|
||||
series : function () {
|
||||
|
@ -39,7 +41,7 @@ define(['app',
|
|||
|
||||
addSeries: function (action) {
|
||||
this._setTitle('Add Series');
|
||||
App.mainRegion.show(new NzbDrone.AddSeries.AddSeriesLayout({action: action}));
|
||||
App.mainRegion.show(new AddSeriesLayout({action: action}));
|
||||
},
|
||||
|
||||
calendar: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue