rem: var attachmentBox = document.getElementById("attachments-box"); attachmentBox.hidden = false; document.getElementById("attachmentbucket-sizer").hidden=false; 
add: ChangeAttachmentBucketVisibility(false); 
context: function AttachPage(){   if (gPromptService)   {      var result = {value:"http://"};      if (gPromptService.prompt(        window,        sComposeMsgsBundle.getString("attachPageDlogTitle"),        sComposeMsgsBundle.getString("attachPageDlogMessage"),          result,        null,        {value:0}))      {        var attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"].createInstance(Components.interfaces.nsIMsgAttachment);        attachment.url = result.value;        AddAttachment(attachment);        var attachmentBox = document.getElementById("attachments-box");        attachmentBox.hidden = false;        document.getElementById("attachmentbucket-sizer").hidden=false;      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e4fe9f4c016d51928b00ca063046836dc4caea5d/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js