cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to 1eab817
Date Mon, 10 Jun 2013 18:02:14 GMT
Updated Branches:
  refs/heads/master f15a7c3f8 -> 1eab817a9


Update projects UI validation


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

Branch: refs/heads/master
Commit: 1eab817a964f7cd5adcb748b4a05af096748693f
Parents: f15a7c3
Author: Brian Federle <brian.federle@citrix.com>
Authored: Mon Jun 10 11:02:08 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Mon Jun 10 11:02:08 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/projects.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1eab817a/ui/scripts/ui-custom/projects.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js
index 7824b3d..f1f9eba 100644
--- a/ui/scripts/ui-custom/projects.js
+++ b/ui/scripts/ui-custom/projects.js
@@ -304,14 +304,14 @@
       var $formDesc = $('<div>').addClass('form-desc');
       var $projectName = $('<div>').addClass('field name')
             .append($('<label>').attr('for', 'project-name').html(_l('label.project.name')))
-            .append($('<input>').addClass('required').attr({
+            .append($('<input>').addClass('required disallowSpecialCharacters').attr({
               type: 'text',
               name: 'project-name',
               id: 'project-name'
             }));
       var $projectDesc = $('<div>').addClass('field desc')
             .append($('<label>').attr('for', 'project-desc').html(_l('label.display.text')))
-            .append($('<input>').attr({
+            .append($('<input>').addClass('disallowSpecialCharacters').attr({
               type: 'text',
               name: 'project-display-text',
               id: 'project-desc'


Mime
View raw message