mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
new UI - fix a bug that domain tree doesn't show 2nd-level or lower level.
This commit is contained in:
parent
258214f190
commit
44f6264ce0
@ -74,7 +74,7 @@ function afterLoadDomainJSP() {
|
||||
if (domains != null && domains.length > 0) {
|
||||
for (var i = 0; i < domains.length; i++) {
|
||||
drawNode(domains[i], level, container);
|
||||
if(domains[i].haschild=="true")
|
||||
if(domains[i].haschild == true)
|
||||
drawTree(domains[i].id, (level+1), $("#domain_children_container_"+domains[i].id));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user