cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weiz...@apache.org
Subject [1/8] git commit: updated refs/heads/disk_io_throttling to 9b88582
Date Wed, 12 Jun 2013 09:12:47 GMT
Updated Branches:
  refs/heads/disk_io_throttling 02e5cb3e9 -> 9b88582b2


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/disk_io_throttling
Commit: f15a7c3f8ef557aff6b98dcdf60cf046cb0844b0
Parents: 3f3c6aa
Author: Brian Federle <brian.federle@citrix.com>
Authored: Mon Jun 10 10:43:31 2013 -0700
Committer: Brian Federle <brian.federle@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__');


Mime
View raw message