Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use correct link to edit weight entries

Roland Geiderc14cb4cb916c
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index 1b463c351..2375e41c6 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -243,7 +243,7 @@ function form_modal_dialog()
function scatterplot_modal_dialog(id)
{
- var targetUrl = '/weight/edit/' + id + '/'
+ var targetUrl = '/weight/' + id + '/edit/'
$("#ajax-info").load(targetUrl + " .ym-form", function() {
// Open the dialog