aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2015-02-19 16:35:09 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:51 +1200
commitc83535bd423ac390187e0bace8fbda5f89eb0af4 (patch)
tree904b66d69aa1ba3f8d5638c2f60f229929a5f28b /templates
parent0f6c74b68bf87ba66370c01047189b25732ad560 (diff)
downloadopenembedded-core-contrib-c83535bd423ac390187e0bace8fbda5f89eb0af4.tar.gz
templates/rrs/recipes.html: Fix url params in JS
Add parse with HTML entity to avoid problems when parameters passed in URL to JS. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/rrs/recipes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html
index 390e4224b9..0340b03425 100644
--- a/templates/rrs/recipes.html
+++ b/templates/rrs/recipes.html
@@ -163,8 +163,8 @@ th.headerSortDown {
<script>
$(document).ready(function() {
recipesTable = $('#recipestable')
- upstreamStatus = '{{ upstream_status }}'
- maintainer = '{{ maintainer_name }}'
+ upstreamStatus = $("<div/>").html('{{ upstream_status }}').text()
+ maintainer = $("<div/>").html('{{ maintainer_name }}').text()
function updateRecipeCount() {
$('#recipestable').show()