diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-07-10 18:56:26 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-07-10 18:56:26 +0300 |
commit | ba24c4e40c728d030504ed21ccf79247d0449e1b (patch) | |
tree | e802c005c6996c633147c9416c5c67f5e9e4fe22 /client/components/boards/boardsList.js | |
parent | 2cbd7d83f991178ceae7f06e18eb74e370579f85 (diff) | |
download | wekan-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/components/boards/boardsList.js')
-rw-r--r-- | client/components/boards/boardsList.js | 6 |
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()); }); }, |