Skip to content

Commit 5df32e6

Browse files
author
Jessica Wang
committed
CLOUDSTACK-452: cloudstack UI - zone wizard - when Basic mode is selected, hide IPv6 DNS1, IPv6 DNS2 field.
1 parent e806ff6 commit 5df32e6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

ui/scripts/zoneWizard.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@
322322

323323
if (args.data['network-model'] == 'Basic') {
324324
args.$form.find('[rel=networkOfferingId]').show();
325-
args.$form.find('[rel=guestcidraddress]').hide();
325+
args.$form.find('[rel=guestcidraddress]').hide();
326+
args.$form.find('[rel=ip6dns1]').hide();
327+
args.$form.find('[rel=ip6dns2]').hide();
326328
}
327329
else { //args.data['network-model'] == 'Advanced'
328330
args.$form.find('[rel=networkOfferingId]').hide();
@@ -331,7 +333,10 @@
331333
args.$form.find('[rel=guestcidraddress]').show();
332334
else //args.data["zone-advanced-sg-enabled"] == "on
333335
args.$form.find('[rel=guestcidraddress]').hide();
334-
}
336+
337+
args.$form.find('[rel=ip6dns1]').show();
338+
args.$form.find('[rel=ip6dns2]').show();
339+
}
335340

336341
setTimeout(function() {
337342
if ($form.find('input[name=ispublic]').is(':checked')) {

0 commit comments

Comments
 (0)