From d894cfc155adea0cdf65e5d4af1558befb72b998 Mon Sep 17 00:00:00 2001 From: Evarin Date: Wed, 26 Apr 2017 00:12:04 +0200 Subject: [PATCH] Debug coords negatives --- avisstage/templates/avisstage/detail/stage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avisstage/templates/avisstage/detail/stage.html b/avisstage/templates/avisstage/detail/stage.html index 4ef5f6e..544b879 100644 --- a/avisstage/templates/avisstage/detail/stage.html +++ b/avisstage/templates/avisstage/detail/stage.html @@ -67,7 +67,7 @@ var lieux = [ {% for lieu in object.lieux.all %} { - coord: {lat: {{ lieu.coord.y|escapejs }}, lon: {{ lieu.coord.x|escapejs }} }, + coord: {lat: "{{ lieu.coord.y|escapejs }}", lon: "{{ lieu.coord.x|escapejs }}" }, popup: "

{{ lieu.nom|escapejs }}

" + "

{{ lieu.get_type_lieu_display|escapejs }}

" + "

{{ lieu.ville|escapejs }}, {{ lieu.get_pays_display|escapejs }}

"