X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit-ng%2Fstatic%2Fjs%2Fview_mail.js;h=4e7635f041b980e5293a83d36ccf5b8ab20be1b3;hb=ea50862e0afd4eb85c98c4b735601c0b213fa081;hp=6d6fbcf45f1a8103f7c24b12e5a9546452f39139;hpb=07f2827e011e19b2f1b87a3f2037b4311bed59ea;p=citadel.git diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index 6d6fbcf45..4e7635f04 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -216,8 +216,8 @@ function mail_render_one(msgnum, msg, target_div, include_controls) { ""; // end header } - // Display attachments, if any are present - if (msg.part) { + // Display attachments, if any are present (don't do this if we're quoting the message) + if ( (msg.part) && (include_controls) ) { let display_attachments = 0; for (let r=0; r