diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-01-03 13:27:27 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-01-03 13:27:27 +0200 |
commit | 5376bc7b7905c0dd99fae1aeae3f63b4583a3e3f (patch) | |
tree | b394f476b0cb8c0ccd3075610656bdaf670e495e /client | |
parent | 19d42c675bca4cb7482e5d0f65cc968b7efca327 (diff) | |
download | wekan-5376bc7b7905c0dd99fae1aeae3f63b4583a3e3f.tar.gz wekan-5376bc7b7905c0dd99fae1aeae3f63b4583a3e3f.tar.bz2 wekan-5376bc7b7905c0dd99fae1aeae3f63b4583a3e3f.zip |
Fix not being able to edit received date.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/cardDetails.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index f0317e6a..f47b3824 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -332,12 +332,7 @@ BlazeComponent.extendComponent({ 'click .js-assignee': Popup.open('cardAssignee'), 'click .js-add-assignees': Popup.open('cardAssignees'), 'click .js-add-labels': Popup.open('cardLabels'), - 'click .js-received-date'(event) { - event.preventDefault(); - if (!Meteor.user().isWorker) { - Popup.open('editCardReceivedDate'); - } - }, + 'click .js-received-date': Popup.open('editCardReceivedDate'), 'click .js-start-date': Popup.open('editCardStartDate'), 'click .js-due-date': Popup.open('editCardDueDate'), 'click .js-end-date': Popup.open('editCardEndDate'), |