loleaflet/src/control/Control.LokDialog.js |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit fbead0febeef17092286f8252ee2241fee8172ee
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Tue Aug 18 19:54:41 2020 +0100
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Thu Aug 20 14:41:54 2020 +0200

    We no longer need to mess with focus during sidebar paint.
    
    TextInput.js sends keyboard events to the right dialog window now
    by referring to Map.js - rather than needing several different places
    that can be focused.
    
    Change-Id: I044bc858a80379b68838d64d1987a1dbd9007195
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100981
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Ashod Nakashian <a...@collabora.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js 
b/loleaflet/src/control/Control.LokDialog.js
index 117ae0873..b46fa91c4 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -1629,13 +1629,6 @@ L.Control.LokDialog = L.Control.extend({
 
                this._resizeCalcInputBar(deckOffset);
                this._adjustTabsBar(width);
-               // If we didn't have the focus, don't steal it form the editor.
-               if ($('#' + this._currentDeck.strId + '-cursor').css('display') 
=== 'none') {
-                       if (this._map.editorHasFocus()) {
-                               this._map.fire('editorgotfocus');
-                               this._map.focus();
-                       }
-               }
        },
 
        _resizeCalcInputBar: function(offset) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to