mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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:
parent
0f6c74b68b
commit
c83535bd42
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user