From d8f9767b067f102406ccf2bd7fe44e2583849846 Mon Sep 17 00:00:00 2001 From: Alexey Koshelev Date: Tue, 10 Feb 2026 12:05:56 +0300 Subject: [PATCH] [common] Fix bug 79531 --- apps/common/main/lib/view/Comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/view/Comments.js b/apps/common/main/lib/view/Comments.js index 805c8fbec6..4d8202dd43 100644 --- a/apps/common/main/lib/view/Comments.js +++ b/apps/common/main/lib/view/Comments.js @@ -211,6 +211,7 @@ define([ replyId = btn.attr('data-value'); if (btn.hasClass('btn-edit-common')) { + me.fireEvent('comment:show', [commentId, false]); if (!_.isUndefined(replyId)) { me.fireEvent('comment:closeEditing', [commentId]); me.fireEvent('comment:editReply', [commentId, replyId]); @@ -237,7 +238,6 @@ define([ me.hookTextBox(); } } - me.fireEvent('comment:show', [commentId, false]); } else if (btn.hasClass('btn-delete')) { if (!_.isUndefined(replyId)) { me.fireEvent('comment:removeReply', [commentId, replyId]); @@ -250,6 +250,7 @@ define([ me.fireEvent('comment:closeEditing'); readdresolves(); } else if (btn.hasClass('user-reply')) { + me.fireEvent('comment:show', [commentId, false]); me.fireEvent('comment:closeEditing'); record.set('showReply', true); @@ -260,7 +261,6 @@ define([ picker.autoScrollToEditButtons(); picker.setFocusToTextBox(); - me.fireEvent('comment:show', [commentId, false]); } else if (btn.hasClass('btn-reply', false)) { if (showReplyBox) { me.fireEvent('comment:addReply', [commentId, picker.getActiveTextBoxVal()]);