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

fix bug 33908

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