mirror of https://github.com/Radarr/Radarr
Removed extraneous filtering code from series index
This commit is contained in:
parent
dff6726114
commit
bcc854b78c
|
@ -257,7 +257,6 @@ define(
|
||||||
|
|
||||||
onShow: function () {
|
onShow: function () {
|
||||||
this._showToolbar();
|
this._showToolbar();
|
||||||
this._renderView();
|
|
||||||
this._fetchCollection();
|
this._fetchCollection();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -295,8 +294,6 @@ define(
|
||||||
this.toolbar2.close();
|
this.toolbar2.close();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this._resetFilter();
|
|
||||||
|
|
||||||
this.seriesRegion.show(this.currentView);
|
this.seriesRegion.show(this.currentView);
|
||||||
|
|
||||||
this._showToolbar();
|
this._showToolbar();
|
||||||
|
@ -314,18 +311,6 @@ define(
|
||||||
this.seriesCollection.setFilterMode(mode);
|
this.seriesCollection.setFilterMode(mode);
|
||||||
},
|
},
|
||||||
|
|
||||||
_resetFilter: function () {
|
|
||||||
var key = this.seriesCollection.state.filterKey;
|
|
||||||
var value = this.seriesCollection.state.filterValue;
|
|
||||||
|
|
||||||
this.seriesCollection.setFilter([ null, null ]);
|
|
||||||
this.seriesCollection.setFilter([ key, value ]);
|
|
||||||
},
|
|
||||||
|
|
||||||
_shadowTest: function () {
|
|
||||||
window.alert('added to shadow');
|
|
||||||
},
|
|
||||||
|
|
||||||
_showToolbar: function () {
|
_showToolbar: function () {
|
||||||
|
|
||||||
if (this.toolbar.currentView) {
|
if (this.toolbar.currentView) {
|
||||||
|
|
Loading…
Reference in New Issue