From 66d8566491780693d4070e8027f194722a4bd7bb Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Fri, 28 Nov 2003 23:54:33 +0000 Subject: [PATCH] Bug #227012 --> attach a web page, attachments panels does not snap into place --- mail/components/compose/content/MsgComposeCommands.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/components/compose/content/MsgComposeCommands.js b/mail/components/compose/content/MsgComposeCommands.js index 473db6020e00..b150621a9814 100644 --- a/mail/components/compose/content/MsgComposeCommands.js +++ b/mail/components/compose/content/MsgComposeCommands.js @@ -2283,7 +2283,10 @@ function AttachPage() { var attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"].createInstance(Components.interfaces.nsIMsgAttachment); attachment.url = result.value; - AddAttachment(attachment); + AddAttachment(attachment); + var attachmentBox = document.getElementById("attachments-box"); + attachmentBox.hidden = false; + document.getElementById("attachmentbucket-sizer").hidden=false; } } }