[DE][PE] Bug 32008
This commit is contained in:
parent
ca1cb54642
commit
f2df515fe3
|
@ -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([
|
||||||
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([
|
||||||
/*
|
/*
|
||||||
* 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([
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue