loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7682e8ca1b855e73b1338be6665e7c067ead3209
Author:     Alexandru Vlăduţu <alexandru.vlad...@1and1.ro>
AuthorDate: Mon Aug 26 11:28:43 2019 +0300
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Mon Aug 26 10:59:10 2019 +0200

    loleaflet: add extra check before opening vex dialog in map
    
    Before opening the inactive dialog, we must check the existing of other
    vex dialogs (for example when the user cannot open the file).
    
    Change-Id: Iafa8684a02d444696e4d20e864cd3e68d1a59607
    Reviewed-on: https://gerrit.libreoffice.org/78113
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 5b048ac2a..9957f4173 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1092,7 +1092,7 @@ L.Map = L.Evented.extend({
                }
 
                console.debug('_dim:');
-               if (!this._socket.connected()) {
+               if (!this._socket.connected() || isAnyVexDialogActive()) {
                        return;
                }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to