diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-05-25 21:33:38 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-05-25 21:33:38 +0300 |
commit | f9018fc3a87080d8d97c371e29a8f3f0a20ca932 (patch) | |
tree | a812f2fd2cdc9a21b83cd8097a741be6744b1657 /client/components/cards/cardDetails.js | |
parent | 252c4b19f9dddd5b51933b2148b188daec69d80c (diff) | |
download | wekan-f9018fc3a87080d8d97c371e29a8f3f0a20ca932.tar.gz wekan-f9018fc3a87080d8d97c371e29a8f3f0a20ca932.tar.bz2 wekan-f9018fc3a87080d8d97c371e29a8f3f0a20ca932.zip |
Sorry marc1006, I had to revert deepcode.ai arrow function fixes because
Python API docs generator does not work all when code has arrow functions.
Thanks to xet7 !
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r-- | client/components/cards/cardDetails.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index d877421c..11e010d4 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -812,9 +812,9 @@ Template.copyChecklistToManyCardsPopup.events({ // copy subtasks cursor = Cards.find({ parentId: oldId }); - cursor.forEach(cur => { + cursor.forEach(function() { 'use strict'; - const subtask = cur; + const subtask = arguments[0]; subtask.parentId = _id; subtask._id = null; /* const newSubtaskId = */ Cards.insert(subtask); |