1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Refresh seasons after rename

This commit is contained in:
Mark McDowall 2013-08-21 20:43:48 -07:00
parent ce9166c6a9
commit fb26cbb4a4

View File

@ -13,7 +13,16 @@ define(
'Shared/Actioneer', 'Shared/Actioneer',
'backstrech', 'backstrech',
'Mixins/backbone.signalr.mixin' 'Mixins/backbone.signalr.mixin'
], function (App, Marionette, EpisodeCollection, EpisodeFileCollection, SeasonCollection, SeasonCollectionView, SeasonMenuCollectionView, InfoView, LoadingView, Actioneer) { ], function (App,
Marionette,
EpisodeCollection,
EpisodeFileCollection,
SeasonCollection,
SeasonCollectionView,
SeasonMenuCollectionView,
InfoView,
LoadingView,
Actioneer) {
return Marionette.Layout.extend({ return Marionette.Layout.extend({
itemViewContainer: '.x-series-seasons', itemViewContainer: '.x-series-seasons',
@ -146,6 +155,8 @@ define(
seriesId: this.model.get('id') seriesId: this.model.get('id')
}, },
element : this.ui.rename, element : this.ui.rename,
context : this,
onSuccess : this._showSeasons,
failMessage: 'Series search failed' failMessage: 'Series search failed'
}); });
}, },