From: Art Cancro Date: Sat, 5 Nov 2022 21:13:53 +0000 (-0400) Subject: Rename msgnum to quoted_msgnum to make its purpose clear X-Git-Tag: v959~9 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=0ae67a3c1ba00940620d83ad83d1a0fb64c74a79;p=citadel.git Rename msgnum to quoted_msgnum to make its purpose clear --- diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index d955f855b..27a34d245 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -254,7 +254,7 @@ function render_mailbox_display() { // Compose a new mail message (called by the Reply button here, or by the dispatcher in views.js) -function mail_compose(is_quoted, references, msgnum, m_to, m_cc, m_subject) { +function mail_compose(is_quoted, references, quoted_msgnum, m_to, m_cc, m_subject) { quoted_div_name = randomString(); // Make the "Write mail" button disappear. We're already there! @@ -297,11 +297,7 @@ function mail_compose(is_quoted, references, msgnum, m_to, m_cc, m_subject) { ; if (is_quoted) { - compose_screen += - "

" - + "FIXME get the quoted message into here" - + "
"; - ; + compose_screen += "

"; } compose_screen += @@ -318,7 +314,7 @@ function mail_compose(is_quoted, references, msgnum, m_to, m_cc, m_subject) { ; document.getElementById("ctdl-main").innerHTML = compose_screen; - mail_display_message(msgnum, document.getElementById(quoted_div_name), 0); + mail_display_message(quoted_msgnum, document.getElementById(quoted_div_name), 0); }