Fix comment insertion

This commit is contained in:
Maxime Quandalle 2015-08-31 21:31:12 +02:00
parent 520c415972
commit 549f8fee3a

View file

@ -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);