Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Also initialise the datepicker for the weight log on the exercise page

Roland Geiderc7516070ff98
diff --git a/exercises/templates/view.html b/exercises/templates/view.html
index 2b49edeb5..d4af6633d 100644
--- a/exercises/templates/view.html
+++ b/exercises/templates/view.html
@@ -12,6 +12,9 @@ function custom_modal_init()
{
// Set up the tinyMCE editor on modal dialogs
init_tinymce();
+
+ // Initialise the datepicker for the modal dialog
+ init_weight_log_datepicker();
}
</script>
{% endblock %}