From 4f95e41b222c42e7f89a44117352611ed0e930c7 Mon Sep 17 00:00:00 2001 From: Vincent Robert Date: Thu, 13 Oct 2016 12:04:01 +0200 Subject: Vertical reordering only --- public/javascripts/application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 087d3de..b303702 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -597,6 +597,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.2.2