Commit f2df515f authored by Julia Radzhabova's avatar Julia Radzhabova

[DE][PE] Bug 32008

parent ca1cb546
...@@ -141,7 +141,7 @@ define([ ...@@ -141,7 +141,7 @@ define([
/* /*
* TODO: Workaround bug #25004. Clipboard feature processing in sdk. * TODO: Workaround bug #25004. Clipboard feature processing in sdk.
*/ */
if (!(Common.Utils.isSafari && Common.Utils.isMac)) { if (!(Common.Utils.isSafari && Common.Utils.isMac) && !/area_id/.test(e.target.id)) {
me.api.asc_enableKeyEvents(true); me.api.asc_enableKeyEvents(true);
if (/msg-reply/.test(e.target.className)) if (/msg-reply/.test(e.target.className))
me.dontCloseDummyComment = false; me.dontCloseDummyComment = false;
......
...@@ -78,6 +78,9 @@ define([ ...@@ -78,6 +78,9 @@ define([
menu.alignPosition(); menu.alignPosition();
} }
_.delay(function() { _.delay(function() {
var value = Common.localStorage.getItem("de-settings-inputmode"); // only for hieroglyphs mode
if (value!==null && parseInt(value) == 1)
me.api.asc_enableKeyEvents(false);
menu.cmpEl.focus(); menu.cmpEl.focus();
}, 10); }, 10);
......
...@@ -124,7 +124,7 @@ define([ ...@@ -124,7 +124,7 @@ define([
/* /*
* TODO: Workaround bug #25004. Clipboard feature processing in sdk. * TODO: Workaround bug #25004. Clipboard feature processing in sdk.
*/ */
if (!(Common.Utils.isSafari && Common.Utils.isMac)) { if (!(Common.Utils.isSafari && Common.Utils.isMac) && !/area_id/.test(e.target.id)) {
me.api.asc_enableKeyEvents(true); me.api.asc_enableKeyEvents(true);
if (/msg-reply/.test(e.target.className)) if (/msg-reply/.test(e.target.className))
me.dontCloseDummyComment = false; me.dontCloseDummyComment = false;
......
...@@ -69,6 +69,9 @@ define([ ...@@ -69,6 +69,9 @@ define([
menu.alignPosition(); menu.alignPosition();
} }
_.delay(function() { _.delay(function() {
var value = Common.localStorage.getItem("pe-settings-inputmode"); // only for hieroglyphs mode
if (value!==null && parseInt(value) == 1)
me.api.asc_enableKeyEvents(false);
menu.cmpEl.focus(); menu.cmpEl.focus();
}, 10); }, 10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment