From 049d33a1575d386b195586375cd249ec5db47491 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 21 Nov 2016 13:26:12 +0300 Subject: [PATCH] Fix Bug 33459. Update changes for Bug 33436. --- apps/spreadsheeteditor/main/app/view/Statusbar.js | 7 ++++--- apps/spreadsheeteditor/main/resources/less/statusbar.less | 5 ----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/Statusbar.js b/apps/spreadsheeteditor/main/app/view/Statusbar.js index 50fa53d8b..de2cb001d 100644 --- a/apps/spreadsheeteditor/main/app/view/Statusbar.js +++ b/apps/spreadsheeteditor/main/app/view/Statusbar.js @@ -545,6 +545,10 @@ define([ this.tabMenu.hide(); this.tabMenu.show(); + var menu = this.tabMenu; + _.defer(function(){ + menu.cmpEl.focus(); + }, 10); } } }, @@ -553,9 +557,6 @@ define([ if (obj.atposition) { obj.setOffset(obj.atposition.left); } - _.defer(function(){ - obj.cmpEl.focus(); - }, 100); this.enableKeyEvents = true; }, diff --git a/apps/spreadsheeteditor/main/resources/less/statusbar.less b/apps/spreadsheeteditor/main/resources/less/statusbar.less index 0c845acd9..e2b56f51d 100644 --- a/apps/spreadsheeteditor/main/resources/less/statusbar.less +++ b/apps/spreadsheeteditor/main/resources/less/statusbar.less @@ -305,11 +305,6 @@ } } - .nav-tabs.bottom { - margin-bottom: 6px; - height: 18px; - } - &.masked #status-addtabs-box{ button.disabled .btn-icon { background-position-x: 0px !important;