summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-12-19 01:50:40 +0530
committerSzymon Kłos <eszkadev@gmail.com>2020-12-30 15:07:26 +0100
commitdd6ee044e7c05fe8f8cb80178df22d634f44797e (patch)
tree85628b9bb16865c959f9f16b85b2bb77daecb8e3
parentNB shortcuts-bar vertical alignment update (diff)
downloadonline-dd6ee044e7c05fe8f8cb80178df22d634f44797e.tar.gz
online-dd6ee044e7c05fe8f8cb80178df22d634f44797e.zip
leaflet: don't create container for frame in mobile wizard
problem: creating an additional container for frames causes problem in wizard while trying to go level up because changing level depends upon finding the sibling of the current not and making them visible or invisible having extra container breaks this relation in addition not creating an additional container does not affect anything visually Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I5f6342febcf444c71eef964da5585e5f73ae367e
-rw-r--r--loleaflet/src/control/Control.MobileWizardBuilder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.MobileWizardBuilder.js b/loleaflet/src/control/Control.MobileWizardBuilder.js
index 34a3970c21..6f167ce53b 100644
--- a/loleaflet/src/control/Control.MobileWizardBuilder.js
+++ b/loleaflet/src/control/Control.MobileWizardBuilder.js
@@ -260,7 +260,7 @@ L.Control.MobileWizardBuilder = L.Control.JSDialogBuilder.extend({
var childType = childData.type;
var processChildren = true;
var needsToCreateContainer =
- childType == 'panel' || childType == 'frame';
+ childType == 'panel';
if ((childData.id === undefined || childData.id === '' || childData.id === null)
&& (childType == 'checkbox' || childType == 'radiobutton')) {