Fix auto-focusing the reply area when replying

This commit is contained in:
FreeScout
2026-07-22 23:25:05 -07:00
parent b12bb42d47
commit 1e970caffa

6
public/js/main.js vendored
View File

@@ -1664,9 +1664,11 @@ function showReplyForm(data, scroll_offset)
$("#to").removeClass('hidden');
$("#to_email").addClass('hidden').addClass('parsley-exclude').next('.select2:first').hide();
// Focus reply area. Do not focus when creating a new conversation.
//if (!$('#to').length) {
$('#body').summernote('focus');
//}
if (!$('#subject').length) {
$('#body').summernote('focus');
}
if (!isChatMode()) {
// Select2 for CC/BCC