You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2012/05/28 00:35:41 UTC

[11/50] [abbrv] git commit: CS-12111: No e-mail validation for edit user form

CS-12111: No e-mail validation for edit user form

reviewed-by: brian


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/84059139
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/84059139
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/84059139

Branch: refs/heads/3.0.x
Commit: 84059139048d2798df56f565be3fb8cbb5fc5819
Parents: d845f20
Author: Sanjay Tripathi <sa...@citrix.com>
Authored: Fri May 25 14:03:09 2012 +0530
Committer: Brian Federle <br...@citrix.com>
Committed: Fri May 25 11:10:01 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/84059139/ui/scripts/accounts.js
----------------------------------------------------------------------
diff --git a/ui/scripts/accounts.js b/ui/scripts/accounts.js
index 1f6a681..16a058a 100644
--- a/ui/scripts/accounts.js
+++ b/ui/scripts/accounts.js
@@ -90,7 +90,7 @@
                   },
                   email: {
                     label: 'label.email',
-                    validation: { required: true }
+                    validation: { required: true, email:true }
                   },
                   firstname: {
                     label: 'label.first.name',
@@ -687,7 +687,7 @@
                   },
                   email: {
                     label: 'label.email',
-                    validation: { required: true }
+                    validation: { required: true, email: true }
                   },
                   firstname: {
                     label: 'label.first.name',