rem: var attachmentTree = document.getElementById('attachmentTree'); var selectedAttachments = attachmentTree.selectedItems; 
add: var attachmentList = document.getElementById('attachmentList'); var selectedAttachments = attachmentList.selectedItems; 
context: function onShowAttachmentContextMenu(){  // if no attachments are selected, disable the Open and Save...  var attachmentTree = document.getElementById('attachmentTree');  var selectedAttachments = attachmentTree.selectedItems;  var openMenu = document.getElementById('context-openAttachment');  var saveMenu = document.getElementById('context-saveAttachment');  if (selectedAttachments.length > 0)  {    openMenu.removeAttribute('disabled');    saveMenu.removeAttribute('disabled');  }  else  {    openMenu.setAttribute('disabled', true);    saveMenu.setAttribute('disabled', true);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js