summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit95044937e9804e3f4e93b379b6c1f6a18116c731 (patch)
tree947d0dd47956be815cf32f3c862026bafe06f604
parent5d231378d3fef989c5a8cd8f319c527c77129216 (diff)
downloadChimère - projet Saclay-95044937e9804e3f4e93b379b6c1f6a18116c731.tar.bz2
Chimère - projet Saclay-95044937e9804e3f4e93b379b6c1f6a18116c731.zip
Force refresh on modal close
-rw-r--r--templates/chimere/main_map.html3
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();