|
|
@ -29,49 +29,49 @@ define(
|
|
|
|
|
|
|
|
|
|
|
|
addSeries: function (action) {
|
|
|
|
addSeries: function (action) {
|
|
|
|
this.setTitle('Add Series');
|
|
|
|
this.setTitle('Add Series');
|
|
|
|
AppLayout.mainRegion.show(new AddSeriesLayout({action: action}));
|
|
|
|
this.showMainRegion(new AddSeriesLayout({action: action}));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
calendar: function () {
|
|
|
|
calendar: function () {
|
|
|
|
this.setTitle('Calendar');
|
|
|
|
this.setTitle('Calendar');
|
|
|
|
AppLayout.mainRegion.show(new CalendarLayout());
|
|
|
|
this.showMainRegion(new CalendarLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
settings: function (action) {
|
|
|
|
settings: function (action) {
|
|
|
|
this.setTitle('Settings');
|
|
|
|
this.setTitle('Settings');
|
|
|
|
AppLayout.mainRegion.show(new SettingsLayout({ action: action }));
|
|
|
|
this.showMainRegion(new SettingsLayout({ action: action }));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
missing: function () {
|
|
|
|
missing: function () {
|
|
|
|
this.setTitle('Missing');
|
|
|
|
this.setTitle('Missing');
|
|
|
|
|
|
|
|
|
|
|
|
AppLayout.mainRegion.show(new MissingLayout());
|
|
|
|
this.showMainRegion(new MissingLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
history: function (action) {
|
|
|
|
history: function (action) {
|
|
|
|
this.setTitle('History');
|
|
|
|
this.setTitle('History');
|
|
|
|
|
|
|
|
|
|
|
|
AppLayout.mainRegion.show(new HistoryLayout({ action: action }));
|
|
|
|
this.showMainRegion(new HistoryLayout({ action: action }));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
rss: function () {
|
|
|
|
rss: function () {
|
|
|
|
this.setTitle('RSS');
|
|
|
|
this.setTitle('RSS');
|
|
|
|
AppLayout.mainRegion.show(new ReleaseLayout());
|
|
|
|
this.showMainRegion(new ReleaseLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
system: function (action) {
|
|
|
|
system: function (action) {
|
|
|
|
this.setTitle('System');
|
|
|
|
this.setTitle('System');
|
|
|
|
AppLayout.mainRegion.show(new SystemLayout({ action: action }));
|
|
|
|
this.showMainRegion(new SystemLayout({ action: action }));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
seasonPass: function () {
|
|
|
|
seasonPass: function () {
|
|
|
|
this.setTitle('Season Pass');
|
|
|
|
this.setTitle('Season Pass');
|
|
|
|
AppLayout.mainRegion.show(new SeasonPassLayout());
|
|
|
|
this.showMainRegion(new SeasonPassLayout());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
update: function () {
|
|
|
|
update: function () {
|
|
|
|
this.setTitle('Updates');
|
|
|
|
this.setTitle('Updates');
|
|
|
|
AppLayout.mainRegion.show(new UpdateLayout());
|
|
|
|
this.showMainRegion(new UpdateLayout());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|