diff --git a/src/component/treevaluechooser/abstract.treevaluechooser.js b/src/component/treevaluechooser/abstract.treevaluechooser.js index 2edc16e50..dc9fe21ae 100644 --- a/src/component/treevaluechooser/abstract.treevaluechooser.js +++ b/src/component/treevaluechooser/abstract.treevaluechooser.js @@ -586,7 +586,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { value: node.value, text: node.text, times: 1, - isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0, + isParent: node.getChildrenLength() > 0, checked: state[0], halfCheck: state[1], open: self.options.open,