loleaflet/src/control/Control.AlertDialog.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fbed7bf1ae24550a4aa9923dee9726887879c425
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Mon Jun 17 16:59:25 2019 +0100
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Sat Sep 21 09:37:03 2019 +0200

    Don't keep erronous dialogID around afterClose.
    
    Avoids focus related exception in the map.
    
    Change-Id: I980b037b1a52b270d1203e0688f2a645c562ff0b

diff --git a/loleaflet/src/control/Control.AlertDialog.js 
b/loleaflet/src/control/Control.AlertDialog.js
index 1e1267649..82c050948 100644
--- a/loleaflet/src/control/Control.AlertDialog.js
+++ b/loleaflet/src/control/Control.AlertDialog.js
@@ -65,6 +65,7 @@ L.Control.AlertDialog = L.Control.extend({
                                buttons: buttonsList,
                                callback: function() {},
                                afterClose: function () {
+                                       vex.dialogID = -1;
                                        e.map.focus();
                                        e.map.enable(true);
                                }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to