add:  if (!MessageHasAttachments()) { document.getElementById("attachments-box").setAttribute("hidden", "true"); document.getElementById("attachmentbucket-sizer").setAttribute("hidden", "true"); } 
context: function RemoveSelectedAttachment(){  var child;  var bucket = document.getElementById("attachmentBucket");  if (bucket.selectedItems.length > 0) {    for (var item = bucket.selectedItems.length - 1; item >= 0; item-- )    {      child = bucket.removeChild(bucket.selectedItems[item]);      // Let's release the attachment object hold by the node else it won't go away until the window is destroyed      child.attachment = null;    }    gContentChanged = true;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/14840b8d34fb8ed19a715449a70cd3870410ae02/MsgComposeCommands.js/buggy/mail/components/compose/content/MsgComposeCommands.js