loleaflet/src/control/Control.MobileWizard.js |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7a2efacc11cbb1084a5e86782acf0a0d0440fddb
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Thu Dec 12 07:19:02 2019 -0500
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Dec 12 13:23:33 2019 +0100

    leaflet: menu mobileWizard calls are not sidebar
    
    This fixes long-press context-menus on mobile.
    
    Change-Id: I63df610a12a075753a277a4257d6e7c785473107
    Reviewed-on: https://gerrit.libreoffice.org/85048
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/control/Control.MobileWizard.js 
b/loleaflet/src/control/Control.MobileWizard.js
index 4b8982d50..f5aa7c767 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -234,7 +234,8 @@ L.Control.MobileWizard = L.Control.extend({
        _onMobileWizard: function(data) {
                if (data) {
                        var isSidebar = data.id !== 'insert' && data.id !== 
'menubar'
-                               && data.id !== 'insertshape' && data.id !== 
'funclist';
+                               && data.id !== 'insertshape' && data.id !== 
'funclist'
+                               && data.executionType !== 'menu';
 
                        if (!this._isActive && isSidebar) {
                                if (this.map.showSidebar == false)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to