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(),