mirror of https://github.com/apache/cloudstack.git
domain page - fix a bug that newly created domain appears twice in domain tree.
This commit is contained in:
parent
85f3a48744
commit
84edea9c0f
|
|
@ -196,8 +196,9 @@ function initAddDomainDialog() {
|
|||
|
||||
var $expandIcon = $parentDomainNode.find("#domain_expand_icon_"+item.parentdomainid);
|
||||
if($expandIcon.hasClass("expanded_close"))
|
||||
$expandIcon.click(); //expand parentDomain node
|
||||
drawNode(item, $("#domain_children_container_"+item.parentdomainid));
|
||||
$expandIcon.click(); //expand parentDomain node
|
||||
else
|
||||
drawNode(item, $("#domain_children_container_"+item.parentdomainid));
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue