From 267c97052e545b66204db24d0c200cfa6ca490cf Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 9 Feb 2014 23:10:06 -0800 Subject: [PATCH] Close both toolbars --- src/UI/Series/Index/SeriesIndexLayout.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/UI/Series/Index/SeriesIndexLayout.js b/src/UI/Series/Index/SeriesIndexLayout.js index bf3a52416..0896d35c3 100644 --- a/src/UI/Series/Index/SeriesIndexLayout.js +++ b/src/UI/Series/Index/SeriesIndexLayout.js @@ -290,6 +290,7 @@ define( if (SeriesCollection.length === 0) { this.seriesRegion.show(new EmptyView()); + this.toolbar.close(); this.toolbar2.close(); } @@ -317,6 +318,14 @@ define( return; } + this.toolbar2.show(new ToolbarLayout({ + right : + [ + this.filteringOptions + ], + context: this + })); + this.toolbar.show(new ToolbarLayout({ right : [ @@ -329,14 +338,6 @@ define( ], context: this })); - - this.toolbar2.show(new ToolbarLayout({ - right : - [ - this.filteringOptions - ], - context: this - })); }, _showFooter: function () {