|
|
@ -586,7 +586,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { |
|
|
|
value: node.value, |
|
|
|
value: node.value, |
|
|
|
text: node.text, |
|
|
|
text: node.text, |
|
|
|
times: 1, |
|
|
|
times: 1, |
|
|
|
isParent: node.getChildrenLength() > 0, |
|
|
|
isParent: nodes[i].isParent || nodes[i].getChildrenLength() > 0, |
|
|
|
checked: state[0], |
|
|
|
checked: state[0], |
|
|
|
halfCheck: state[1], |
|
|
|
halfCheck: state[1], |
|
|
|
open: self.options.open, |
|
|
|
open: self.options.open, |
|
|
@ -701,7 +701,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { |
|
|
|
times: 1, |
|
|
|
times: 1, |
|
|
|
isParent: false, |
|
|
|
isParent: false, |
|
|
|
checked: true, |
|
|
|
checked: true, |
|
|
|
halfCheck: false |
|
|
|
halfCheck: false, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|