Self hosted FLOSS fitness/workout, nutrition and weight tracker
Only allow vertically sorting of exercises in workout page
Roland Geiderb20336772e4e
diff --git a/wger/core/static/js/workout-manager.js b/wger/core/static/js/workout-manager.jsindex ea86a5fbc..3e6bb27e8 100644--- a/wger/core/static/js/workout-manager.js+++ b/wger/core/static/js/workout-manager.js@@ -109,6 +109,7 @@ function setup_sortable() {$(".workout-table tbody").sortable({handle: '.dragndrop-handle',revert: true,+ axis: 'y',update : function (event, ui) {// Monkey around the HTML, till we find the IDs of the set and the dayvar day_element = ui.item.parent().parent().find('tr').first().attr('id'); //day-xy