"MDL-13766, expand automaticlly"

This commit is contained in:
dongsheng 2008-09-11 07:58:39 +00:00
parent 30868c40ae
commit 80108afd0e

View File

@ -1689,6 +1689,9 @@ _client.buildtree = function(node, level){
tmpNode.icon = node.thumbnail;
tmpNode.path = node.path;
if(node.children){
if(node.expanded){
tmpNode.expand();
}
tmpNode.isLeaf = false;
if (node.path) {
tmpNode.path = node.path;