mirror of
https://github.com/wekan/wekan.git
synced 2026-02-17 05:28:06 +01:00
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 !
This commit is contained in:
parent
252c4b19f9
commit
f9018fc3a8
5 changed files with 12 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue