From 9a43ab9b94c22c628f1d3410ebe640e22cfedb54 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 3 Feb 2014 13:49:46 -0800 Subject: [PATCH] Re-organized buttons on series index --- src/UI/Series/Index/SeriesIndexLayout.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/UI/Series/Index/SeriesIndexLayout.js b/src/UI/Series/Index/SeriesIndexLayout.js index 0287b2818..3313bca83 100644 --- a/src/UI/Series/Index/SeriesIndexLayout.js +++ b/src/UI/Series/Index/SeriesIndexLayout.js @@ -301,12 +301,12 @@ define( return; } - var rightButtons = [ - this.viewButtons - ]; - this.toolbar.show(new ToolbarLayout({ - right : rightButtons, + right : + [ + this.sortingOptions, + this.viewButtons + ], left : [ this.leftSideButtons @@ -315,12 +315,9 @@ define( })); this.toolbar2.show(new ToolbarLayout({ - right : [ - this.filteringOptions - ], - left : + right : [ - this.sortingOptions + this.filteringOptions ], context: this }));