From e1468f7ac54f3102fda58f17cabd86d58ebcdd0e Mon Sep 17 00:00:00 2001 From: Konstantin Kireyev Date: Tue, 4 Jun 2024 16:11:48 +0500 Subject: [PATCH] fix: incorrect name of var --- apps/common/main/lib/controller/Comments.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);