loleaflet/src/control/Control.LokDialog.js | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit 8657bd21cebac35aa3f09a564e3000a37c94a6c8 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Tue Aug 18 19:54:41 2020 +0100 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Wed Aug 19 11:29:42 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 focuses. Change-Id: I044bc858a80379b68838d64d1987a1dbd9007195 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100955 Reviewed-by: Ashod Nakashian <a...@collabora.com> Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Tested-by: Ashod Nakashian <a...@collabora.com> diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js index e9440b15f..337acfa5d 100644 --- a/loleaflet/src/control/Control.LokDialog.js +++ b/loleaflet/src/control/Control.LokDialog.js @@ -1610,14 +1610,6 @@ L.Control.LokDialog = L.Control.extend({ spreadsheetRowColumnFrame.style.right = width.toString() + 'px'; this._resizeCalcInputBar(deckOffset); - - // 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