Commit 8f000054 authored by Oleg Korshul's avatar Oleg Korshul

text input focus change (mouse).

parent 89ce4483
......@@ -2595,6 +2595,9 @@
/** @param event {MouseEvent} */
CellEditor.prototype._onMouseDown = function ( event ) {
if (AscCommon.g_inputContext)
AscCommon.g_inputContext.externalChangeFocus();
var pos;
var coord = this._getCoordinates( event );
if ( !window['IS_NATIVE_EDITOR'] ) {
......
......@@ -1153,6 +1153,9 @@
/** @param event {MouseEvent} */
asc_CEventsController.prototype._onMouseDown = function (event) {
if (AscCommon.g_inputContext)
AscCommon.g_inputContext.externalChangeFocus();
var t = this;
var coord = t._getCoordinates(event);
event.isLocked = t.isMousePressed = true;
......
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