X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fstatic%2Fjs%2Fview_mail.js;h=e44a73a032990786b07f11793f48ceebb0f85f6d;hb=eba2a8c1516b63bf51e3d26da497cc4dc85b8f83;hp=830768a50476e3b83124a27f667fbee52ed818c0;hpb=188b4e6fa07bb7533dbc6be89b540dba6d56d5d2;p=citadel.git diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index 830768a50..e44a73a03 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -534,6 +534,8 @@ function mail_compose(is_quoted, references, quoted_msgnum, m_to, m_cc, m_subjec document.getElementById(quoted_div_name).innerHTML = quoted_msgnum; mail_display_message(quoted_msgnum, document.getElementById(quoted_div_name), 0); } + + setTimeout(() => { document.getElementById("ctdl-editor-body").focus(); }, 0); } // Called when the user clicks the button to make the hidden "CC" and "BCC" lines appear.