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

Less model pollution

This commit is contained in:
Mark McDowall
2013-08-21 14:47:39 -07:00
parent 488da59143
commit 8e2364966a
8 changed files with 26 additions and 31 deletions
+1 -4
View File
@@ -50,6 +50,7 @@ define(
{
name : 'this',
label : 'Title',
hideSeriesLink : true,
cell : EpisodeTitleCell,
sortable: false
},
@@ -74,10 +75,6 @@ define(
this.episodeCollection = options.episodeCollection.bySeason(this.model.get('seasonNumber'));
_.each(this.episodeCollection.models, function (episode) {
episode.set({ hideSeriesLink: true, series: options.series });
});
this.listenTo(this.model, 'sync', function () {
this._afterSeasonMonitored();
}, this);