From afbf97465aafefe567e86ae757966e30053321ad Mon Sep 17 00:00:00 2001 From: bfederle Date: Wed, 14 Mar 2012 14:59:15 -0700 Subject: [PATCH] Sanitize projects UI elements -- project selector, etc. --- ui/scripts/ui-custom/projects.js | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js index 856f2a1d1cb..e580115b2f8 100644 --- a/ui/scripts/ui-custom/projects.js +++ b/ui/scripts/ui-custom/projects.js @@ -90,7 +90,7 @@ $.each(item, function(arrayKey, arrayValue) { var $arrayElem = $li.find('[data-list-item=' + arrayKey + ']'); - $arrayElem.html(arrayValue); + $arrayElem.html(_s(arrayValue)); }); $li.attr({ title: item.description }); @@ -103,7 +103,7 @@ if ($item.hasClass('chart-line')) { $item.show().animate({ width: value + '%' }); } else { - $item.hide().html(value).fadeIn(); + $item.hide().html(_s(value)).fadeIn(); } }); } @@ -151,7 +151,7 @@ var $field = $('
').addClass('field'); var $label = $('