summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-26 08:25:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-26 08:25:32 +0000
commitb0f89e68f44cadb5abb3a8aae509c49dc93ea340 (patch)
tree7c2bac0a264abbdcdf9d96627518b996122ebdd6 /public
parent4f4c420f0535b358f6af3b107dbc634dfce40b49 (diff)
downloadredmine-b0f89e68f44cadb5abb3a8aae509c49dc93ea340.tar.gz
redmine-b0f89e68f44cadb5abb3a8aae509c49dc93ea340.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js1
1 files changed, 1 insertions, 0 deletions
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(){