mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Rename will just refetch episodeFiles instead of the whole page
This commit is contained in:
@@ -156,7 +156,7 @@ define(
|
|||||||
},
|
},
|
||||||
element : this.ui.rename,
|
element : this.ui.rename,
|
||||||
context : this,
|
context : this,
|
||||||
onSuccess : this._showSeasons,
|
onSuccess : this._refetchEpisodeFiles,
|
||||||
failMessage: 'Series search failed'
|
failMessage: 'Series search failed'
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -209,6 +209,10 @@ define(
|
|||||||
|
|
||||||
_showInfo: function () {
|
_showInfo: function () {
|
||||||
this.info.show(new InfoView({ model: this.model }));
|
this.info.show(new InfoView({ model: this.model }));
|
||||||
|
},
|
||||||
|
|
||||||
|
_refetchEpisodeFiles: function () {
|
||||||
|
this.episodeFileCollection.fetch();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user