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

New commits:
commit d8aeb28aeb6b8f1ff58c7dfab306cdba853dfeab
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Sun Sep 15 18:22:41 2019 -0400
Commit:     Ashod Nakashian <ashnak...@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 <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@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);
        },
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to