From a7e603ca5f028f286ab29da088544be95a5e605e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 18 Oct 2016 11:58:27 +0300 Subject: [PATCH] [PE] [SSE] Optimization of right panel. --- apps/presentationeditor/main/app/controller/RightMenu.js | 7 ++++--- apps/presentationeditor/main/app/view/RightMenu.js | 2 +- apps/spreadsheeteditor/main/app/controller/RightMenu.js | 7 ++++--- apps/spreadsheeteditor/main/app/view/RightMenu.js | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/RightMenu.js b/apps/presentationeditor/main/app/controller/RightMenu.js index cc4919e67..f26d27389 100644 --- a/apps/presentationeditor/main/app/controller/RightMenu.js +++ b/apps/presentationeditor/main/app/controller/RightMenu.js @@ -148,14 +148,15 @@ define([ } } - var lastactive = -1, currentactive, priorityactive = -1; + var lastactive = -1, currentactive, priorityactive = -1, + activePane = this.rightmenu.GetActivePane(); for (i=0; i