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

text input focus change (mouse).

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