summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-07-10 18:56:26 +0300
committerLauri Ojansivu <x@xet7.org>2020-07-10 18:56:26 +0300
commitba24c4e40c728d030504ed21ccf79247d0449e1b (patch)
treee802c005c6996c633147c9416c5c67f5e9e4fe22 /client
parent2cbd7d83f991178ceae7f06e18eb74e370579f85 (diff)
downloadwekan-ba24c4e40c728d030504ed21ccf79247d0449e1b.tar.gz
wekan-ba24c4e40c728d030504ed21ccf79247d0449e1b.tar.bz2
wekan-ba24c4e40c728d030504ed21ccf79247d0449e1b.zip
All logged in users are now allowed to reorder boards by dragging at All Boards page and Public Boards page.
Thanks to xet7 ! Fixes #3147
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardsList.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js
index eee119ea..145f6789 100644
--- a/client/components/boards/boardsList.js
+++ b/client/components/boards/boardsList.js
@@ -25,10 +25,6 @@ BlazeComponent.extendComponent({
},
onRendered() {
- function userIsAllowedToMove() {
- return Meteor.user();
- }
-
const itemsSelector = '.js-board:not(.placeholder)';
const $boards = this.$('.js-boards');
@@ -77,8 +73,6 @@ BlazeComponent.extendComponent({
handle: '.board-handle',
});
}
-
- $boards.sortable('option', 'disabled', !userIsAllowedToMove());
});
},