mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
4f4c420f05
commit
b0f89e68f4
@ -665,6 +665,7 @@ function beforeShowDatePicker(input, inst) {
|
|||||||
}, options );
|
}, options );
|
||||||
|
|
||||||
return this.sortable($.extend({
|
return this.sortable($.extend({
|
||||||
|
axis: 'y',
|
||||||
handle: ".sort-handle",
|
handle: ".sort-handle",
|
||||||
helper: function(event, ui){
|
helper: function(event, ui){
|
||||||
ui.children('td').each(function(){
|
ui.children('td').each(function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user