diff --git a/bi/widget.js b/bi/widget.js index 2d540f509..0b676040e 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -17424,6 +17424,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree BI.some(parents, function (i, v) { var t = next[v]; if (t == null) { + if (i === 0) { + return true; + } if (BI.isEmpty(next)) { var split = parents.slice(0, i); var expanded = self._getChildren(split); diff --git a/docs/widget.js b/docs/widget.js index 2d540f509..0b676040e 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -17424,6 +17424,9 @@ BI.shortcut('bi.all_value_chooser_pane', BI.AllValueChooserPane);BI.AbstractTree BI.some(parents, function (i, v) { var t = next[v]; if (t == null) { + if (i === 0) { + return true; + } if (BI.isEmpty(next)) { var split = parents.slice(0, i); var expanded = self._getChildren(split); diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 4da592491..d20a7c850 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -185,6 +185,9 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { BI.some(parents, function (i, v) { var t = next[v]; if (t == null) { + if (i === 0) { + return true; + } if (BI.isEmpty(next)) { var split = parents.slice(0, i); var expanded = self._getChildren(split);