From b0f89e68f44cadb5abb3a8aae509c49dc93ea340 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 26 Nov 2016 08:25:32 +0000 Subject: [PATCH] Allow only vertical reorderingin sortable lists (#24062). Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@15996 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index ad7109e2b..f38b69b3c 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -665,6 +665,7 @@ function beforeShowDatePicker(input, inst) { }, options ); return this.sortable($.extend({ + axis: 'y', handle: ".sort-handle", helper: function(event, ui){ ui.children('td').each(function(){ -- 2.39.5