mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Drag handles continue. In progress.
This commit is contained in:
parent
03d7fc02ec
commit
872ed4b2f9
2 changed files with 7 additions and 0 deletions
|
|
@ -43,6 +43,12 @@ BlazeComponent.extendComponent({
|
|||
});
|
||||
}
|
||||
|
||||
if (!Utils.isMiniScreen && !showDesktopDragHandles) {
|
||||
$('.js-minicards').sortable({
|
||||
handle: 'list-header',
|
||||
});
|
||||
}
|
||||
|
||||
$cards.sortable({
|
||||
connectWith: '.js-minicards:not(.js-list-full)',
|
||||
tolerance: 'pointer',
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ function initSortable(boardComponent, $listsDom) {
|
|||
$listsDom.sortable({
|
||||
tolerance: 'pointer',
|
||||
helper: 'clone',
|
||||
handle: '.js-list-header',
|
||||
items: '.js-list:not(.js-list-composer)',
|
||||
placeholder: 'list placeholder',
|
||||
distance: 7,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue