Rename will just refetch episodeFiles instead of the whole page

This commit is contained in:
Mark McDowall 2013-08-22 22:37:37 -07:00
parent dbc4f01d6a
commit 4fb2c0a143
1 changed files with 5 additions and 1 deletions

View File

@ -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();
}
});
});