Commit 5326c75d authored by Alexander.Trofimov's avatar Alexander.Trofimov

add asc_onInputKeyDown event on key down in formula bar

bug 32821
parent 8e0eedee
...@@ -474,10 +474,13 @@ ...@@ -474,10 +474,13 @@
} }
}, false); }, false);
this.input.addEventListener('keydown', function () { this.input.addEventListener('keydown', function (event) {
if (self.isCellEditMode) { if (self.isCellEditMode) {
self.handlers.trigger('asc_onInputKeyDown', event);
if (!event.defaultPrevented) {
self.cellEditor._onWindowKeyDown(event, true); self.cellEditor._onWindowKeyDown(event, true);
} }
}
}, false); }, false);
} }
......
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