From 6eeea70dad1350b6fa27527e810a521893f956cb Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 11 Jul 2013 11:13:35 -0700 Subject: [PATCH] CLOUDSTACK-3461: Make vCenter user/password fields optional --- ui/scripts/system.js | 4 +--- ui/scripts/zoneWizard.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index db0689c22fa..90ede7d52e8 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -10168,13 +10168,11 @@ }, vCenterUsername: { label: 'label.vcenter.username', - docID: 'helpClustervCenterUsername', - validation: { required: true } + docID: 'helpClustervCenterUsername' }, vCenterPassword: { label: 'label.vcenter.password', docID: 'helpClustervCenterPassword', - validation: { required: true }, isPassword: true }, vCenterDatacenter: { diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index eea0888ccc8..e2ad910b63a 100755 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -886,12 +886,10 @@ validation: { required: true } }, vCenterUsername: { - label: 'label.vcenter.username', - validation: { required: true } + label: 'label.vcenter.username' }, vCenterPassword: { label: 'label.vcenter.password', - validation: { required: true }, isPassword: true }, vCenterDatacenter: {