-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.7, 8.0.1.1
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
-
None
Reproduce with the following:
1 - Close the root item
2 - Click the toggle disable button
3 - Open the root item
>causes a js error in _showKids() due to the disabled item children not having an associated DOM node
<zk> <button label="Toggle disable" onClick="treeitem.disabled= !treeitem.disabled;" /> <tree id="tree" multiple="true" checkmark="true"> <treechildren> <treeitem id="treeitem1" disabled="false"> <treerow> <treecell label="Item 2" /> </treerow> <treechildren> <treeitem id="treeitem" disabled="false"> <treerow> <treecell label="Item 2.1" /> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.1.1" /> </treerow> </treeitem> </treechildren> </treeitem> <treeitem> <treerow> <treecell label="Item 2.2" /> </treerow> </treeitem> </treechildren> </treeitem> </treechildren> </tree> </zk>