rem: messenger.saveAllAttachments(attachmentUrlArray.length, attachmentUrlArray, attachmentDisplayNameArray, attachmentMessageUriArray); 
add: messenger.saveAllAttachments(attachmentContentTypeArray.length, attachmentContentTypeArray, attachmentUrlArray, attachmentDisplayNameArray, attachmentMessageUriArray); 
context: function SaveAllAttachments(){ try  {   // convert our attachment data into some c++ friendly structs   var attachmentUrlArray = new Array();   var attachmentDisplayNameArray = new Array();   var attachmentMessageUriArray = new Array();   // populate these arrays..   for (index in currentAttachments)   {     var attachment = currentAttachments[index];     attachmentUrlArray[index] = attachment.url;     attachmentDisplayNameArray[index] = escape(attachment.displayName);     attachmentMessageUriArray[index] = attachment.uri;   }   // okay the list has been built...now call our save all attachments code...   messenger.saveAllAttachments(attachmentUrlArray.length, attachmentUrlArray, attachmentDisplayNameArray, attachmentMessageUriArray); } catch (ex) {   dump ("** failed to save all attachments ** \n"); }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/78b42a319abba41832dafaadc93436d6a352ba8e/msgHdrViewOverlay.js/clean/mailnews/base/resources/content/msgHdrViewOverlay.js