You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/02/27 18:15:46 UTC

[3/3] git commit: refs/heads/ui-regions - Add region UI: Don't use URL validation

Updated Branches:
  refs/heads/ui-regions 79bfbe32c -> fb9afaad2


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/ui-regions
Commit: fb9afaad2a15211f6bd4652d884a3a5955edc6ac
Parents: 289c433
Author: Brian Federle <br...@citrix.com>
Authored: Wed Feb 27 09:13:28 2013 -0800
Committer: Brian Federle <br...@citrix.com>
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' }
             }