Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use a CSS-class as handle, then the row with the link is not draggable

Roland Geideradf5b23a6501
diff --git a/manager/templates/workout/view.html b/manager/templates/workout/view.html
index 6edddc520..c2968d3de 100644
--- a/manager/templates/workout/view.html
+++ b/manager/templates/workout/view.html
@@ -11,7 +11,7 @@
$(document).ready(function() {
$(".workout-table tbody").sortable({
- handle: 'td:first',
+ handle: 'td.ym-g10',
update : function (event, ui) {
// Monkey around the HTML, till we find the IDs of the set and the day