mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Reactivate the touch event fix for the boards list
This fixes https://github.com/wekan/wekan/issues/3049.
This commit is contained in:
parent
3908fe0ab8
commit
eddcb2260b
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
const subManager = new SubsManager();
|
const subManager = new SubsManager();
|
||||||
const { calculateIndex } = Utils;
|
const { calculateIndex, enableClickOnTouch } = Utils;
|
||||||
|
|
||||||
Template.boardListHeaderBar.events({
|
Template.boardListHeaderBar.events({
|
||||||
'click .js-open-archived-board'() {
|
'click .js-open-archived-board'() {
|
||||||
|
|
@ -68,6 +68,9 @@ BlazeComponent.extendComponent({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// ugly touch event hotfix
|
||||||
|
enableClickOnTouch(itemsSelector);
|
||||||
|
|
||||||
// Disable drag-dropping if the current user is not a board member or is comment only
|
// Disable drag-dropping if the current user is not a board member or is comment only
|
||||||
this.autorun(() => {
|
this.autorun(() => {
|
||||||
$boards.sortable('option', 'disabled', !userIsAllowedToMove());
|
$boards.sortable('option', 'disabled', !userIsAllowedToMove());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue