Commit 3669611c authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33908

reopen bug 26184, 14943
parent ab2e14fc
......@@ -2512,7 +2512,6 @@
/** @param event {KeyboardEvent} */
CellEditor.prototype._onWindowKeyPress = function (event) {
var t = this;
var ctrlKey = event.metaKey || event.ctrlKey;
if (!window['IS_NATIVE_EDITOR']) {
......@@ -2520,7 +2519,7 @@
return true;
}
if (t.skipKeyPress || event.which < 32 || event.altKey || ctrlKey) {
if (t.skipKeyPress || event.which < 32) {
t.skipKeyPress = true;
return true;
}
......
......@@ -979,10 +979,7 @@
return result;
default:
// При зажатом Ctrl или Alt не вводим символ
if (!ctrlKey && !event.altKey) {
t.skipKeyPress = false;
}
t.skipKeyPress = false;
return true;
} // end of switch
......
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