mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-452: cloudstack UI - zone wizard - when Basic mode is selected, hide IPv6 DNS1, IPv6 DNS2 field.
This commit is contained in:
parent
e806ff6743
commit
5df32e6d70
|
|
@ -322,7 +322,9 @@
|
|||
|
||||
if (args.data['network-model'] == 'Basic') {
|
||||
args.$form.find('[rel=networkOfferingId]').show();
|
||||
args.$form.find('[rel=guestcidraddress]').hide();
|
||||
args.$form.find('[rel=guestcidraddress]').hide();
|
||||
args.$form.find('[rel=ip6dns1]').hide();
|
||||
args.$form.find('[rel=ip6dns2]').hide();
|
||||
}
|
||||
else { //args.data['network-model'] == 'Advanced'
|
||||
args.$form.find('[rel=networkOfferingId]').hide();
|
||||
|
|
@ -331,7 +333,10 @@
|
|||
args.$form.find('[rel=guestcidraddress]').show();
|
||||
else //args.data["zone-advanced-sg-enabled"] == "on
|
||||
args.$form.find('[rel=guestcidraddress]').hide();
|
||||
}
|
||||
|
||||
args.$form.find('[rel=ip6dns1]').show();
|
||||
args.$form.find('[rel=ip6dns2]').show();
|
||||
}
|
||||
|
||||
setTimeout(function() {
|
||||
if ($form.find('input[name=ispublic]').is(':checked')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue