Close both toolbars

pull/4/head
Mark McDowall 11 years ago
parent bcc854b78c
commit 267c97052e

@ -290,6 +290,7 @@ define(
if (SeriesCollection.length === 0) { if (SeriesCollection.length === 0) {
this.seriesRegion.show(new EmptyView()); this.seriesRegion.show(new EmptyView());
this.toolbar.close(); this.toolbar.close();
this.toolbar2.close(); this.toolbar2.close();
} }
@ -317,6 +318,14 @@ define(
return; return;
} }
this.toolbar2.show(new ToolbarLayout({
right :
[
this.filteringOptions
],
context: this
}));
this.toolbar.show(new ToolbarLayout({ this.toolbar.show(new ToolbarLayout({
right : right :
[ [
@ -329,14 +338,6 @@ define(
], ],
context: this context: this
})); }));
this.toolbar2.show(new ToolbarLayout({
right :
[
this.filteringOptions
],
context: this
}));
}, },
_showFooter: function () { _showFooter: function () {

Loading…
Cancel
Save