Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Changeset cfe6209ee3dd removed too much code from the base template

Roland Geider610ec8b09e8b
diff --git a/manager/templates/base.html b/manager/templates/base.html
index e8b02c93e..fbbe0b79d 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -37,6 +37,17 @@
<script src="{% static 'js/browserid.js' %}"></script>
{% block header %}{% endblock %}
+
+ <script>
+ $(document).ready(function() {
+
+ // Init the modal dialog for editing forms
+ form_modal_dialog();
+
+ // Initialise the hook to reload the main-content
+ load_maincontent();
+ });
+ </script>
<title>{% block title %}{% endblock %}</title>