summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-20 17:15:52 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-20 17:15:52 +0100
commit49faab30c25763e3b79784b420239b87a300ee24 (patch)
tree94278ead568fd0c1798f0fbfcd7140745ee9ba2e
parent1e26b4bce6b2a92e0fd3eb8a3a5dd1699d5f3ca9 (diff)
downloadChimère - projet Saclay-49faab30c25763e3b79784b420239b87a300ee24.tar.bz2
Chimère - projet Saclay-49faab30c25763e3b79784b420239b87a300ee24.zip
JS: fix current feature selection
-rw-r--r--templates/chimere/blocks/map.html2
1 files changed, 1 insertions, 1 deletions
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,