You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/11/02 19:20:38 UTC

git commit: CS-16573: cloudstack UI - VM Wizard - makeSelects() - sanitize output value.

Updated Branches:
  refs/heads/master 83200abc1 -> 0d7ed63e2


CS-16573: cloudstack UI - VM Wizard - makeSelects() - sanitize output value.


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

Branch: refs/heads/master
Commit: 0d7ed63e20a0d9a1ecb06a43d64557dc65c5a5ec
Parents: 83200ab
Author: Jessica Wang <je...@citrix.com>
Authored: Thu Nov 1 13:41:35 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Fri Nov 2 11:20:24 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0d7ed63e/ui/scripts/ui-custom/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js
index 6a9a057..e9fda2e 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -137,8 +137,8 @@
                   )
                   .append(
                     $('<div>').addClass('select-desc')
-                      .append($('<div>').addClass('name').html(this[fields.name]))
-                      .append($('<div>').addClass('desc').html(this[fields.desc]))
+                      .append($('<div>').addClass('name').html(_s(this[fields.name])))
+                      .append($('<div>').addClass('desc').html(_s(this[fields.desc])))
                   )
                   .data('json-obj', this);