diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-31 21:31:12 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-31 21:31:12 +0200 |
commit | 549f8fee3aee3675ae2c04fa14b88f4a783df2c6 (patch) | |
tree | cbdcb4a04491f2befe3544960f5ea40bd627ba42 /client/components | |
parent | 520c41597241e5b0096ae076ee53905f520085ef (diff) | |
download | wekan-549f8fee3aee3675ae2c04fa14b88f4a783df2c6.tar.gz wekan-549f8fee3aee3675ae2c04fa14b88f4a783df2c6.tar.bz2 wekan-549f8fee3aee3675ae2c04fa14b88f4a783df2c6.zip |
Fix comment insertion
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/activities/comments.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js index a3af7ba6..e3a82c4b 100644 --- a/client/components/activities/comments.js +++ b/client/components/activities/comments.js @@ -26,8 +26,8 @@ BlazeComponent.extendComponent({ let input = this.getInput(); if ($.trim(input.val())) { CardComments.insert({ - boardId: this.boardId, - cardId: this._id, + boardId: this.currentData().boardId, + cardId: this.currentData()._id, text: input.val() }); resetCommentInput(input); |