[Libreoffice-commits] online.git: loleaflet/src
Pranam Lashkari (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 18 15:21:08 UTC 2020
loleaflet/src/control/Control.MobileWizard.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 801386effc84dd6e2d7c706c36a1c8bd6131d496
Author: Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Wed Jun 17 21:29:45 2020 +0530
Commit: Pedro Silva <pedro.silva at collabora.com>
CommitDate: Thu Jun 18 17:20:49 2020 +0200
leaflet: hamburger menu: submenu entries are shown
once entered submenu and then going back will still show submenu options
Change-Id: Ifa0c86e4b6a5a316543b90c1f694d1cbad4cf34b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96528
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Tested-by: Pedro Silva <pedro.silva at collabora.com>
Reviewed-by: Pedro Silva <pedro.silva at collabora.com>
diff --git a/loleaflet/src/control/Control.MobileWizard.js b/loleaflet/src/control/Control.MobileWizard.js
index 406ba8716..c0cd3b985 100644
--- a/loleaflet/src/control/Control.MobileWizard.js
+++ b/loleaflet/src/control/Control.MobileWizard.js
@@ -221,8 +221,10 @@ L.Control.MobileWizard = L.Control.extend({
else
this._setTitle(this._mainTitle);
- $('.ui-content.level-' + this._currentDepth + '.mobile-wizard').siblings().show('slide', { direction: 'left' }, 'fast');
+ var content = $('.ui-content.level-' + this._currentDepth + '.mobile-wizard');
+
$('.ui-content.level-' + this._currentDepth + '.mobile-wizard').hide();
+ content.siblings().not(content).show('slide', { direction: 'left', queue: false }, 'fast');
$('#mobile-wizard.funcwizard div#mobile-wizard-content').removeClass('showHelpBG');
$('#mobile-wizard.funcwizard div#mobile-wizard-content').addClass('hideHelpBG');
$('.ui-header.level-' + this._currentDepth + '.mobile-wizard').show('slide', { direction: 'left' }, 'fast');
More information about the Libreoffice-commits
mailing list