1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

this should cover it!

This commit is contained in:
Keivan Beigi
2013-09-11 17:42:15 -07:00
parent 7f5136120d
commit c090b3efa1
15 changed files with 166 additions and 331 deletions
+6 -8
View File
@@ -2,9 +2,9 @@
define(
[
'marionette',
'Series/SeasonCollection',
'Cells/ToggleCell'
], function (Marionette, Backgrid, SeasonCollection, ToggleCell) {
'backgrid',
'Series/SeasonCollection'
], function (Marionette, Backgrid, SeasonCollection) {
return Marionette.Layout.extend({
template: 'SeasonPass/SeriesLayoutTemplate',
@@ -111,11 +111,9 @@ define(
this.model.setSeasonMonitored(seasonNumber);
Actioneer.SaveModel({
element: element,
context: this,
always : this._afterToggleSeasonMonitored
});
var savePromise =this.model.save()
.always(this.render.bind(this));
element.spinForPromise(savePromise);
},
_afterToggleSeasonMonitored: function () {