Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set title of AJAX loading dialog

Roland Geider6921cc804722
diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.js
index be85538c1..f589215b9 100644
--- a/manager/static/js/workout-manager.js
+++ b/manager/static/js/workout-manager.js
@@ -222,6 +222,7 @@ function form_modal_dialog()
'width="48" ' +
'height="48"> ' +
'</div>');
+ $("#ajax-info").dialog({title: 'Loading...'});
$("#ajax-info").dialog("open");
$("#ajax-info").load(targetUrl + " .ym-form", function(responseText, textStatus) {