diff --git a/apps/common/main/lib/controller/Comments.js b/apps/common/main/lib/controller/Comments.js index fd1154c285..4a95795a83 100644 --- a/apps/common/main/lib/controller/Comments.js +++ b/apps/common/main/lib/controller/Comments.js @@ -423,11 +423,13 @@ define([ replies.forEach(function (reply) { var ascReply = t.buildReplyComment(reply); if (ascReply) { - ascComment.asc_addReply(addReply); + ascComment.asc_addReply(ascReply); } }); } + console.log(ascComment, ascComment.asc_getText()); + t.api.asc_changeComment(id, ascComment); t.mode && t.mode.canRequestSendNotify && t.view.pickEMail(ascComment.asc_getGuid(), commentVal, oldCommentVal);