Add region UI: Don't use URL validation Don't use URL validation for endpoint, becuase it doesn't accept hostnames without domains (i.e., http://localhost:8080/client)
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/fb9afaad Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/fb9afaad Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/fb9afaad Branch: refs/heads/master Commit: fb9afaad2a15211f6bd4652d884a3a5955edc6ac Parents: 289c433 Author: Brian Federle <[email protected]> Authored: Wed Feb 27 09:13:28 2013 -0800 Committer: Brian Federle <[email protected]> Committed: Wed Feb 27 09:13:28 2013 -0800 ---------------------------------------------------------------------- ui/scripts/regions.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/fb9afaad/ui/scripts/regions.js ---------------------------------------------------------------------- diff --git a/ui/scripts/regions.js b/ui/scripts/regions.js index 543c17e..f147df5 100644 --- a/ui/scripts/regions.js +++ b/ui/scripts/regions.js @@ -55,7 +55,7 @@ fields: { id: { label: 'label.id', validation: { required: true } }, name: { label: 'label.name', validation: { required: true } }, - endpoint: { label: 'label.endpoint', validation: { url: true, required: true } }, + endpoint: { label: 'label.endpoint', validation: { required: true } }, userapikey: { label: 'label.api.key' }, userapisecretkey: { label: 'label.s3.secret_key' } }
