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