You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2013/06/12 11:12:48 UTC
[2/8] git commit: updated refs/heads/disk_io_throttling to 9b88582
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/disk_io_throttling
Commit: 1eab817a964f7cd5adcb748b4a05af096748693f
Parents: f15a7c3
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jun 10 11:02:08 2013 -0700
Committer: Brian Federle <br...@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'