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>
This commit is contained in:
Aníbal Limón 2015-02-19 16:35:09 +00:00 committed by Paul Eggleton
parent 0f6c74b68b
commit c83535bd42

View File

@ -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()