Removed individual column scrolling on board
This commit is contained in:
@@ -12,6 +12,7 @@ Kanboard.BoardDragAndDrop.prototype.execute = function() {
|
||||
|
||||
Kanboard.BoardDragAndDrop.prototype.dragAndDrop = function() {
|
||||
var self = this;
|
||||
var dropzone = $(".board-task-list");
|
||||
var params = {
|
||||
forcePlaceholderSize: true,
|
||||
tolerance: "pointer",
|
||||
@@ -47,7 +48,12 @@ Kanboard.BoardDragAndDrop.prototype.dragAndDrop = function() {
|
||||
params["handle"] = ".task-board-sort-handle";
|
||||
}
|
||||
|
||||
$(".board-task-list").sortable(params);
|
||||
// Set dropzone height to the height of the table cell
|
||||
dropzone.each(function() {
|
||||
$(this).css("min-height", $(this).parent().height());
|
||||
});
|
||||
|
||||
dropzone.sortable(params);
|
||||
};
|
||||
|
||||
Kanboard.BoardDragAndDrop.prototype.changeTaskState = function(taskId) {
|
||||
|
||||
Reference in New Issue
Block a user