From 520aa3ee6577dbfd2a327457f6e920ba2ed683a9 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 26 Jul 2016 14:48:03 +0300 Subject: [PATCH] [SSE] Debug function menu in IE. --- apps/spreadsheeteditor/main/app/controller/CellEditor.js | 6 +++--- .../spreadsheeteditor/main/app/controller/DocumentHolder.js | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/CellEditor.js b/apps/spreadsheeteditor/main/app/controller/CellEditor.js index 6a3bee2f4..8096f9126 100644 --- a/apps/spreadsheeteditor/main/app/controller/CellEditor.js +++ b/apps/spreadsheeteditor/main/app/controller/CellEditor.js @@ -183,9 +183,9 @@ define([ this.api.isCEditorFocused = undefined; else if (this.api.isCellEdited) this.api.isCEditorFocused = true; - if (Common.Utils.isIE && !$('#menu-formula-selection').hasClass('open')) {// for formula menu - this.getApplication().getController('DocumentHolder').documentHolder.focus(); - } +// if (Common.Utils.isIE && !$('#menu-formula-selection').hasClass('open')) {// for formula menu +// this.getApplication().getController('DocumentHolder').documentHolder.focus(); +// } }, onKeyupCellEditor: function(e) { diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index cb8882d61..0b5392eed 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -1482,10 +1482,6 @@ define([ menu.render(menuContainer); menu.cmpEl.attr({tabindex: "-1"}); - - menu.on('hide:after', function() { - if (Common.Utils.isIE) me.documentHolder.focus(); - }); } var coord = me.api.asc_getActiveCellCoord(),