diff options
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 |
commit | 49faab30c25763e3b79784b420239b87a300ee24 (patch) | |
tree | 94278ead568fd0c1798f0fbfcd7140745ee9ba2e | |
parent | 1e26b4bce6b2a92e0fd3eb8a3a5dd1699d5f3ca9 (diff) | |
download | Chimère - projet Saclay-49faab30c25763e3b79784b420239b87a300ee24.tar.bz2 Chimère - projet Saclay-49faab30c25763e3b79784b420239b87a300ee24.zip |
JS: fix current feature selection
-rw-r--r-- | templates/chimere/blocks/map.html | 2 |
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, |