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/06/10 19:43:46 UTC
git commit: updated refs/heads/master to f15a7c3
Updated Branches:
refs/heads/master 3f3c6aa35 -> f15a7c3f8
Code cleanup
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f15a7c3f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f15a7c3f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f15a7c3f
Branch: refs/heads/master
Commit: f15a7c3f8ef557aff6b98dcdf60cf046cb0844b0
Parents: 3f3c6aa
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jun 10 10:43:31 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Jun 10 10:43:31 2013 -0700
----------------------------------------------------------------------
ui/scripts/ui-custom/projectSelect.js | 4 ++--
ui/scripts/ui/utils.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f15a7c3f/ui/scripts/ui-custom/projectSelect.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/projectSelect.js b/ui/scripts/ui-custom/projectSelect.js
index 82d02c1..aef49ed 100644
--- a/ui/scripts/ui-custom/projectSelect.js
+++ b/ui/scripts/ui-custom/projectSelect.js
@@ -32,9 +32,9 @@
var projects = args.data;
$(projects).map(function(index, project) {
- var $option = $('<option>').val(project.id);
+ var $option = $('<option>').val(_s(project.id));
- $option.html(project.displaytext ? project.displaytext : project.name);
+ $option.html(_s(project.displaytext ? project.displaytext : project.name));
$option.appendTo($projectSelect);
});
},
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f15a7c3f/ui/scripts/ui/utils.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/utils.js b/ui/scripts/ui/utils.js
index 7a6fb2f..39ef3e3 100644
--- a/ui/scripts/ui/utils.js
+++ b/ui/scripts/ui/utils.js
@@ -23,7 +23,7 @@
$($form.serializeArray()).each(function() {
var dataItem = data[this.name];
- var value = this.value.toString();
+ var value = _s(this.value.toString());
if (options.escapeSlashes) {
value = value.replace(/\//g, '__forwardSlash__');