diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-08 00:26:25 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-08 00:26:25 +0300 |
commit | 9cd980d9e6283ed15c24a01b4f7ed2bc06d6f54f (patch) | |
tree | d5a87bc2ceb3733cadcf05712fc123495acb6886 /models/checklistItems.js | |
parent | 4c6c6ffb164027c5a5f29d213be9858c23efd3bf (diff) | |
parent | d516ecb20ceaa21d5687ae093317473774843510 (diff) | |
download | wekan-9cd980d9e6283ed15c24a01b4f7ed2bc06d6f54f.tar.gz wekan-9cd980d9e6283ed15c24a01b4f7ed2bc06d6f54f.tar.bz2 wekan-9cd980d9e6283ed15c24a01b4f7ed2bc06d6f54f.zip |
Merge branch 'Angtrim-feature-rules' into edge
Closes #1912
Diffstat (limited to 'models/checklistItems.js')
-rw-r--r-- | models/checklistItems.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/checklistItems.js b/models/checklistItems.js index 7132bc7c..519630ae 100644 --- a/models/checklistItems.js +++ b/models/checklistItems.js @@ -118,7 +118,7 @@ function publishCheckActivity(userId, doc){ Activities.insert(act); } -function publishChekListCompleted(userId, doc, fieldNames, modifier){ +function publishChekListCompleted(userId, doc, fieldNames){ const card = Cards.findOne(doc.cardId); const boardId = card.boardId; const checklistId = doc.checklistId; @@ -136,7 +136,7 @@ function publishChekListCompleted(userId, doc, fieldNames, modifier){ } } -function publishChekListUncompleted(userId, doc, fieldNames, modifier){ +function publishChekListUncompleted(userId, doc, fieldNames){ const card = Cards.findOne(doc.cardId); const boardId = card.boardId; const checklistId = doc.checklistId; @@ -162,11 +162,11 @@ if (Meteor.isServer) { ChecklistItems.after.update((userId, doc, fieldNames, modifier) => { publishCheckActivity(userId, doc); - publishChekListCompleted(userId, doc, fieldNames, modifier); + publishChekListCompleted(userId, doc, fieldNames); }); ChecklistItems.before.update((userId, doc, fieldNames, modifier) => { - publishChekListUncompleted(userId, doc, fieldNames, modifier); + publishChekListUncompleted(userId, doc, fieldNames); }); |