You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2013/03/29 19:20:20 UTC
[04/50] [abbrv] git commit: updated refs/heads/affinity_groups to
857ed16
CLOUDSTACK-452: cloudstack UI - zone wizard - when Basic mode is selected, hide IPv6 DNS1, IPv6 DNS2 field.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5df32e6d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5df32e6d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5df32e6d
Branch: refs/heads/affinity_groups
Commit: 5df32e6d701a20057c25db2d9932edd91564febf
Parents: e806ff6
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Mar 26 16:48:50 2013 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Tue Mar 26 16:48:50 2013 -0700
----------------------------------------------------------------------
ui/scripts/zoneWizard.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5df32e6d/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 753b038..c09da8a 100755
--- a/ui/scripts/zoneWizard.js
+++ b/ui/scripts/zoneWizard.js
@@ -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')) {