rem: var menuSingleSeparator = document.getElementById('context-menu-singleSeparator'); var menuAllSeparator = document.getElementById('context-menu-allSeparator'); 
add: var menuSeparator = document.getElementById('context-menu-separator'); 
context: function onShowAttachmentContextMenu(){  // if no attachments are selected, disable the Open and Save...  var attachmentList = document.getElementById('attachmentList');  var selectedAttachments = attachmentList.selectedItems;  var attachmentList = document.getElementById('attachmentListContext');  var openMenu = document.getElementById('context-openAttachment');  var saveMenu = document.getElementById('context-saveAttachment');  var detachMenu = document.getElementById('context-detachAttachment');  var deleteMenu = document.getElementById('context-deleteAttachment');  var menuSingleSeparator = document.getElementById('context-menu-singleSeparator');  var menuAllSeparator = document.getElementById('context-menu-allSeparator');  var saveAllMenu = document.getElementById('context-saveAllAttachments');  var detachAllMenu = document.getElementById('context-detachAllAttachments');  var deleteAllMenu = document.getElementById('context-deleteAllAttachments');  var canDetach = CanDetachAttachments();  var canOpen = false;  for (var i = 0; i < selectedAttachments.length && !canOpen; i++)    canOpen = selectedAttachments[i].attachment.contentType != 'text/x-moz-deleted';  if (selectedAttachments.length == 1)  {    openMenu.setAttribute('hidden', !canOpen);    saveMenu.setAttribute('hidden', !canOpen);    menuSingleSeparator.setAttribute('hidden', !canOpen);    detachMenu.setAttribute('hidden', !canDetach || !canOpen);    deleteMenu.setAttribute('hidden', !canDetach || !canOpen);    menuSingleSeparator.setAttribute('hidden', !canDetach || !canOpen);    menuAllSeparator.setAttribute('hidden', 'true');    saveAllMenu.setAttribute('hidden', 'true');    detachAllMenu.setAttribute('hidden', 'true');    deleteAllMenu.setAttribute('hidden', 'true');  }  else  {    openMenu.setAttribute('hidden', 'true');    saveMenu.setAttribute('hidden', 'true');    detachMenu.setAttribute('hidden', 'true');    deleteMenu.setAttribute('hidden', 'true');    saveAllMenu.setAttribute('hidden', 'false');    menuSingleSeparator.setAttribute('hidden', 'true');    menuAllSeparator.setAttribute('hidden', 'true');    detachAllMenu.setAttribute('hidden', !canDetach);    deleteAllMenu.setAttribute('hidden', !canDetach);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/5996bde545d65f1bb0e62691b9afc31e6e92fb33/msgHdrViewOverlay.js/clean/mail/base/content/msgHdrViewOverlay.js