MINOR revert r89202 from sminnee, broke multiselects, as there is no method called selectNode on tree.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91306 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2009-11-11 20:12:52 +00:00
parent 649079f4e8
commit a1848c233d

View File

@ -273,7 +273,8 @@ TreeMultiselectField.prototype = {
var allNodes = this.tree.getElementsByTagName('li');
for(i=0;i<allNodes.length;i++) {
if(isSelected[allNodes[i].getIdx()]) {
this.tree.selectNode(allNodes[i]);
this.tree.multiselect_handleSelectionChange(allNodes[i]);
// this.tree.selectNode(allNodes[i]);
}
}
},