rem: var attachmentTree = document.getElementById('attachmentTree'); var selectedAttachments = attachmentTree.selectedItems; var treeItem = selectedAttachments[0]; var commandStringSuffix = treeItem.getAttribute("commandSuffix"); 
add: var attachmentList = document.getElementById('attachmentList'); var selectedAttachments = attachmentList.selectedItems; var listItem = selectedAttachments[0]; var commandStringSuffix = listItem.getAttribute("commandSuffix"); 
context: function handleAttachmentSelection(commandPrefix){  // get the selected attachment...and call openAttachment on it...  var attachmentTree = document.getElementById('attachmentTree');  var selectedAttachments = attachmentTree.selectedItems;  var treeItem = selectedAttachments[0];  var commandStringSuffix = treeItem.getAttribute("commandSuffix");  var openString = commandPrefix + commandStringSuffix;  eval(openString);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js