1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-07-07 00:59:18 +02:00

New: Mass series editor

This commit is contained in:
Mark McDowall
2013-12-08 21:25:27 -08:00
parent f76c4700a6
commit a9ece10144
26 changed files with 606 additions and 34 deletions

View File

@ -15,8 +15,8 @@ define(
return Marionette.AppRouter.extend({
initialize: function () {
vent.on(vent.Commands.OpenModalCommand, this._openModal, this);
vent.on(vent.Commands.CloseModalCommand, this._closeModal, this);
vent.on(vent.Commands.OpenModalCommand, this._openControlPanel, this);
vent.on(vent.Commands.CloseModalCommand, this._closeControlPanel, this);
vent.on(vent.Commands.EditSeriesCommand, this._editSeries, this);
vent.on(vent.Commands.DeleteSeriesCommand, this._deleteSeries, this);
vent.on(vent.Commands.ShowEpisodeDetails, this._showEpisode, this);
@ -25,12 +25,12 @@ define(
vent.on(vent.Commands.ShowRenamePreview, this._showRenamePreview, this);
},
_openModal: function (view) {
_openControlPanel: function (view) {
AppLayout.modalRegion.show(view);
},
_closeModal: function () {
AppLayout.modalRegion.closeModal();
_closeControlPanel: function () {
AppLayout.modalRegion.closePanel();
},
_editSeries: function (options) {