mirror of https://github.com/apache/cloudstack.git
AddCluster API return an array of embedded objects. This is related UI change.
This commit is contained in:
parent
c6dd3d3877
commit
bcab9e5d0d
|
|
@ -376,7 +376,7 @@ function bindAddClusterButton($leftmenuItem1) {
|
|||
}
|
||||
else { //if pod node is expanded
|
||||
var $clusterNode = $("#leftmenu_cluster_node_template").clone(true);
|
||||
var item = json.addclusterresponse.cluster;
|
||||
var item = json.addclusterresponse.cluster[0];
|
||||
clusterJSONToTreeNode(item, $clusterNode);
|
||||
$podNode.find("#clusters_container").append($clusterNode.show());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue