Close both toolbars

This commit is contained in:
Mark McDowall 2014-02-09 23:10:06 -08:00
parent bcc854b78c
commit 267c97052e
1 changed files with 9 additions and 8 deletions

View File

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