mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-19 03:54:03 +01:00
bug 7095: cluster name can no longer be null when adding into a new cluster pool
status 7095: resolved fixed
This commit is contained in:
parent
a69f961bd8
commit
3514d59f45
@ -176,6 +176,9 @@ function initAddHostButton($midmenuAddLink1, currentPageInRightPanel) {
|
|||||||
isValid &= validateString("Host name", $thisDialog.find("#host_hostname"), $thisDialog.find("#host_hostname_errormsg"));
|
isValid &= validateString("Host name", $thisDialog.find("#host_hostname"), $thisDialog.find("#host_hostname_errormsg"));
|
||||||
isValid &= validateString("User name", $thisDialog.find("#host_username"), $thisDialog.find("#host_username_errormsg"));
|
isValid &= validateString("User name", $thisDialog.find("#host_username"), $thisDialog.find("#host_username_errormsg"));
|
||||||
isValid &= validateString("Password", $thisDialog.find("#host_password"), $thisDialog.find("#host_password_errormsg"));
|
isValid &= validateString("Password", $thisDialog.find("#host_password"), $thisDialog.find("#host_password_errormsg"));
|
||||||
|
if(clusterRadio == "new_cluster_radio") {
|
||||||
|
isValid &= validateString("Cluster Name", $thisDialog.find("#new_cluster_name"), $thisDialog.find("#new_cluster_name_errormsg"));
|
||||||
|
}
|
||||||
if (!isValid)
|
if (!isValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user