loleaflet/src/control/Control.MobileWizard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 7a2efacc11cbb1084a5e86782acf0a0d0440fddb Author: Ashod Nakashian <[email protected]> AuthorDate: Thu Dec 12 07:19:02 2019 -0500 Commit: Jan Holesovsky <[email protected]> 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 <[email protected]> Reviewed-by: Jan Holesovsky <[email protected]> Tested-by: Jan Holesovsky <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
