loleaflet/src/control/Control.LokDialog.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e416caa1e061bb79eb6238f348af1f8917d3e102
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Mon Jan 6 10:11:31 2020 -0500
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Tue Jan 7 10:21:54 2020 +0100

    wsd: prevent sidebar from stealing focus on painting
    
    Change-Id: I3738b95ea230faa46c122e12b7932599f0113a8f
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86322
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js 
b/loleaflet/src/control/Control.LokDialog.js
index 836151b34..2abdc0246 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -1022,9 +1022,9 @@ L.Control.LokDialog = L.Control.extend({
                        // if dialog is hidden, show it
                        if (container)
                                 $(container).parent().show();
+
                        if (parentId in that._dialogs) {
                                // We might have closed the dialog by the time 
we render.
-                               that.focus(parentId);
                                that._dialogs[parentId].isPainting = false;
                        }
                };
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to