[DE][PE] Bug 32008

This commit is contained in:
Julia Radzhabova 2016-03-28 14:34:42 +03:00
parent ca1cb54642
commit f2df515fe3
4 changed files with 8 additions and 2 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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;

View file

@ -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);