mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Fix comment insertion
This commit is contained in:
parent
520c415972
commit
549f8fee3a
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ BlazeComponent.extendComponent({
|
||||||
let input = this.getInput();
|
let input = this.getInput();
|
||||||
if ($.trim(input.val())) {
|
if ($.trim(input.val())) {
|
||||||
CardComments.insert({
|
CardComments.insert({
|
||||||
boardId: this.boardId,
|
boardId: this.currentData().boardId,
|
||||||
cardId: this._id,
|
cardId: this.currentData()._id,
|
||||||
text: input.val()
|
text: input.val()
|
||||||
});
|
});
|
||||||
resetCommentInput(input);
|
resetCommentInput(input);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue