cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prachida...@apache.org
Subject [40/50] [abbrv] git commit: refs/heads/affinity_groups - Add region UI: Don't use URL validation
Date Thu, 14 Mar 2013 22:35:17 GMT
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/d16866ea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d16866ea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d16866ea

Branch: refs/heads/affinity_groups
Commit: d16866ea136024bd21b758aaf8d1ea2dc27f3b33
Parents: ddfc811
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Feb 27 09:13:28 2013 -0800
Committer: Prachi Damle <prachi@cloud.com>
Committed: Thu Mar 14 15:13:44 2013 -0700

----------------------------------------------------------------------
 ui/scripts/regions.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d16866ea/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' }
             }


Mime
View raw message