mirror of https://github.com/apache/cloudstack.git
refresh UI correctly after adding external cluster
This commit is contained in:
parent
5b39bd6872
commit
bef989c47f
|
|
@ -330,7 +330,7 @@ function initAddClusterButton($button, currentPageInRightPanel, $leftmenuItem1)
|
|||
|
||||
showMiddleMenu();
|
||||
|
||||
clickClusterNodeAfterAddHost(clusterRadio, podId, clusterName, null, $thisDialog);
|
||||
clickClusterNodeAfterAddHost("new_cluster_radio", podId, hostname + "/" + dcName + "/" + clusterName, null, $thisDialog);
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
handleError(XMLHttpResponse, function() {
|
||||
|
|
|
|||
|
|
@ -1059,7 +1059,7 @@ function initAddClusterButtonOnZonePage($button, zoneId, zoneName) {
|
|||
|
||||
showMiddleMenu();
|
||||
|
||||
clickClusterNodeAfterAddHost(clusterRadio, podId, clusterName, null, $thisDialog);
|
||||
clickClusterNodeAfterAddHost("new_cluster_radio", podId, hostname + "/" + dcName + "/" + clusterName, null, $thisDialog);
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
handleError(XMLHttpResponse, function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue