From 5ca00ef6942471264e4f26c48dc834f8f50bd075 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 11 Jan 2015 14:42:12 -0800 Subject: [PATCH] Refresh status when series is refreshed --- src/UI/Series/Details/SeasonLayout.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/UI/Series/Details/SeasonLayout.js b/src/UI/Series/Details/SeasonLayout.js index 8d0b229fd..875181021 100644 --- a/src/UI/Series/Details/SeasonLayout.js +++ b/src/UI/Series/Details/SeasonLayout.js @@ -136,7 +136,7 @@ define( this.listenTo(this.model, 'sync', this._afterSeasonMonitored); this.listenTo(this.episodeCollection, 'sync', this.render); - this.listenTo(this.fullEpisodeCollection, 'sync', this._updateEpisodeCollection); + this.listenTo(this.fullEpisodeCollection, 'sync', this._refreshEpsiodes); }, onRender: function () { @@ -300,6 +300,11 @@ define( this.episodeCollection.each(function (model) { model.episodeCollection = self.episodeCollection; }); + }, + + _refreshEpsiodes: function () { + this._updateEpisodeCollection(); + this.render(); } }); });