[Libreoffice-commits] online.git: loleaflet/src
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 19 09:30:01 UTC 2020
loleaflet/src/control/Control.LokDialog.js | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 8657bd21cebac35aa3f09a564e3000a37c94a6c8
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Aug 18 19:54:41 2020 +0100
Commit: Michael Meeks <michael.meeks at 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 <ash at collabora.com>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Tested-by: Ashod Nakashian <ash at 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) {
More information about the Libreoffice-commits
mailing list