Less model pollution

This commit is contained in:
Mark McDowall 2013-08-21 14:47:39 -07:00
commit 8e2364966a
8 changed files with 26 additions and 31 deletions

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);