rem: fp.init(window, sComposeMsgsBundle.getString("chooseFileToAttach"), nsIFilePicker.modeOpen); 
add: fp.init(window, sComposeMsgsBundle.getString("chooseFileToAttach"), nsIFilePicker.modeOpenMultiple); 
context: function AttachFile(){  var currentAttachment = "";    //Get file using nsIFilePicker and convert to URL  try {      var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);      fp.init(window, sComposeMsgsBundle.getString("chooseFileToAttach"), nsIFilePicker.modeOpen);            var lastDirectory = GetLastAttachDirectory();      if (lastDirectory)         fp.displayDirectory = lastDirectory;      fp.appendFilters(nsIFilePicker.filterAll);      if (fp.show() == nsIFilePicker.returnOK) {        currentAttachment = fp.fileURL.spec;        SetLastAttachDirectory(fp.file)      }  }  catch (ex) {    dump("failed to get the local file to attach\n");  }    if (currentAttachment == "")    return;  if (DuplicateFileCheck(currentAttachment))  {    dump("Error, attaching the same item twice\n");  }  else  {    var attachment = Components.classes["@mozilla.org/messengercompose/attachment;1"]                     .createInstance(Components.interfaces.nsIMsgAttachment);    attachment.url = currentAttachment;    AddAttachment(attachment);    gContentChanged = true;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/de53ec3309b58dc4bbb49b5c278b93ecdd3ca692/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js