[Libreoffice-commits] online.git: loleaflet/src

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 16 13:12:48 UTC 2019


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

New commits:
commit d8aeb28aeb6b8f1ff58c7dfab306cdba853dfeab
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Sun Sep 15 18:22:41 2019 -0400
Commit:     Ashod Nakashian <ashnakash at gmail.com>
CommitDate: Mon Sep 16 15:12:30 2019 +0200

    leaflet: fix dialogs hide on dragging regression
    
    Change-Id: I23c869b60009cdad0d81abcfa886d81b81aa318c
    Reviewed-on: https://gerrit.libreoffice.org/78982
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index e71e0c256..cbb82a6d6 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -856,7 +856,7 @@ L.Control.LokDialog = L.Control.extend({
 	onCloseCurrentPopUp: function() {
 		// for title-less dialog only (context menu, pop-up)
 		if (this._currentId && this._isOpen(this._currentId) &&
-			this._dialogs[this._currentId].title && !this._isSidebar(this._currentId))
+			!this._dialogs[this._currentId].title && !this._isSidebar(this._currentId))
 			this._onDialogClose(this._currentId, true);
 	},
 


More information about the Libreoffice-commits mailing list