Commit f2df515f authored by Julia Radzhabova's avatar Julia Radzhabova

[DE][PE] Bug 32008

parent ca1cb546
......@@ -141,7 +141,7 @@ define([
/*
* 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);
if (/msg-reply/.test(e.target.className))
me.dontCloseDummyComment = false;
......
......@@ -78,6 +78,9 @@ define([
menu.alignPosition();
}
_.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();
}, 10);
......
......@@ -124,7 +124,7 @@ define([
/*
* 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);
if (/msg-reply/.test(e.target.className))
me.dontCloseDummyComment = false;
......
......@@ -69,6 +69,9 @@ define([
menu.alignPosition();
}
_.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();
}, 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