refresh UI correctly after adding external cluster

This commit is contained in:
Kelven Yang 2010-12-17 10:50:16 -08:00
parent 5b39bd6872
commit bef989c47f
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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() {