Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set the URL for the autocompleter

Roland Geider2c430c8d4dab
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index 0bbecb3ea..61336e37e 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -133,7 +133,7 @@ function setup_inplace_editing()
// Init the autocompleter
$(".ajax-form-exercise-list").autocomplete({
- source: "{% url exercises.views.exercise_search %}",
+ source: "/exercise/search/",
minLength: 2,
select: function(event, ui) {