From 49faab30c25763e3b79784b420239b87a300ee24 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 20 Mar 2017 17:15:52 +0100 Subject: JS: fix current feature selection --- templates/chimere/blocks/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/chimere/blocks/map.html b/templates/chimere/blocks/map.html index 1039cdc..a496b48 100644 --- a/templates/chimere/blocks/map.html +++ b/templates/chimere/blocks/map.html @@ -50,7 +50,7 @@ $("#{{map_id}}").show(); "dynamic_categories": {{ dynamic_categories }}, {% if p_display_submited %}"display_submited": {{ p_display_submited }},{% endif %} {% if area_id %}'area_id': "{{area_id}}",{% endif %} - {% if p_current_feature %}"display_feature": {{ p_current_feature }},{% endif %} + {% if p_current_feature %}"display_feature": "{{ p_current_feature }}",{% endif %} {% if selected_map_layer %}"selected_map_layer": {{selected_map_layer}},{% endif %} "display_feature_detail_callback": display_feature_detail_callback, "edition_type_is_route": true, -- cgit v1.2.3