[Libreoffice-commits] online.git: loleaflet/src
Alexandru Vlăduţu (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 26 08:59:30 UTC 2019
loleaflet/src/map/Map.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7682e8ca1b855e73b1338be6665e7c067ead3209
Author: Alexandru Vlăduţu <alexandru.vladutu at 1and1.ro>
AuthorDate: Mon Aug 26 11:28:43 2019 +0300
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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;
}
More information about the Libreoffice-commits
mailing list