diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 23:05:02 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 23:05:02 +0200 |
commit | 95044937e9804e3f4e93b379b6c1f6a18116c731 (patch) | |
tree | 947d0dd47956be815cf32f3c862026bafe06f604 | |
parent | 5d231378d3fef989c5a8cd8f319c527c77129216 (diff) | |
download | Chimère - projet Saclay-95044937e9804e3f4e93b379b6c1f6a18116c731.tar.bz2 Chimère - projet Saclay-95044937e9804e3f4e93b379b6c1f6a18116c731.zip |
Force refresh on modal close
-rw-r--r-- | templates/chimere/main_map.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/chimere/main_map.html b/templates/chimere/main_map.html index bb0c568..7268f06 100644 --- a/templates/chimere/main_map.html +++ b/templates/chimere/main_map.html @@ -69,7 +69,9 @@ </div> <div class='footer' id='footer-panel'> {% if contact_email %}<a href='mailto:{{contact_email}}' id='contactus'>{% trans "contact" %}</a> | {% endif %} + {% comment%} <a href="{% url 'chimere:extra_page' '' 'legal' %}" id='page-legal' class='dyn-page'>{% trans "terms of service & credits" %}</a> + {% endcomment %} </div> </div> {% endblock %} @@ -117,6 +119,7 @@ $(function(){ $("#modal-edit").on("hide.bs.modal", function() { $("#modal-edit .modal-body").html(""); + $("#main-map").chimere('refresh'); }); if (has_search){ load_search_box(); |