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