|
|
|
@ -104,9 +104,6 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function beforeExpand(treeId, treeNode) { |
|
|
|
|
if (treeNode.disabled) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
self._beforeExpandNode(treeId, treeNode); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -118,16 +115,10 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function onExpand(event, treeId, treeNode) { |
|
|
|
|
if (treeNode.disabled) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
treeNode.halfCheck = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function onCollapse(event, treeId, treeNode) { |
|
|
|
|
if (treeNode.disabled) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
treeNode.halfCheck = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|