Removed extraneous filtering code from series index

This commit is contained in:
Mark McDowall 2014-02-09 12:31:57 -08:00
parent dff6726114
commit bcc854b78c
1 changed files with 0 additions and 15 deletions

View File

@ -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) {