|
|
@ -26,14 +26,19 @@ RB.Backlog = (function ($) { |
|
|
|
// Make the list sortable
|
|
|
|
// Make the list sortable
|
|
|
|
this.getList().sortable({ |
|
|
|
this.getList().sortable({ |
|
|
|
connectWith: '.stories', |
|
|
|
connectWith: '.stories', |
|
|
|
placeholder: 'placeholder', |
|
|
|
|
|
|
|
forcePlaceholderSize: true, |
|
|
|
|
|
|
|
dropOnEmpty: true, |
|
|
|
dropOnEmpty: true, |
|
|
|
start: this.dragStart, |
|
|
|
start: this.dragStart, |
|
|
|
stop: this.dragStop, |
|
|
|
stop: this.dragStop, |
|
|
|
update: this.dragComplete, |
|
|
|
update: this.dragComplete, |
|
|
|
receive: this.dragChanged, |
|
|
|
receive: this.dragChanged, |
|
|
|
remove: this.dragChanged |
|
|
|
remove: this.dragChanged, |
|
|
|
|
|
|
|
containment: $('#backlogs_container'), |
|
|
|
|
|
|
|
scroll: true, |
|
|
|
|
|
|
|
helper: function(event, ui){ |
|
|
|
|
|
|
|
var $clone = $(ui).clone(); |
|
|
|
|
|
|
|
$clone .css('position','absolute'); |
|
|
|
|
|
|
|
return $clone.get(0); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// Observe menu items
|
|
|
|
// Observe menu items
|
|
|
|