From 4fb2c0a1430606967f2178b1d987c50e326ffb3a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 22 Aug 2013 22:37:37 -0700 Subject: [PATCH] Rename will just refetch episodeFiles instead of the whole page --- UI/Series/Details/SeriesDetailsLayout.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/Series/Details/SeriesDetailsLayout.js b/UI/Series/Details/SeriesDetailsLayout.js index 871428ea5..8f073cc96 100644 --- a/UI/Series/Details/SeriesDetailsLayout.js +++ b/UI/Series/Details/SeriesDetailsLayout.js @@ -156,7 +156,7 @@ define( }, element : this.ui.rename, context : this, - onSuccess : this._showSeasons, + onSuccess : this._refetchEpisodeFiles, failMessage: 'Series search failed' }); }, @@ -209,6 +209,10 @@ define( _showInfo: function () { this.info.show(new InfoView({ model: this.model })); + }, + + _refetchEpisodeFiles: function () { + this.episodeFileCollection.fetch(); } }); });