rem: item = body.childNodes[index]; if (item.childNodes && item.childNodes.length) { row = item.childNodes[0]; if (row.childNodes &&  row.childNodes.length) { cell = row.childNodes[0]; if (cell) { attachment = cell.attachment; if (attachment) compFields.addAttachment(attachment); } } } 
add: var item = bucket.childNodes[index]; var attachment = item.attachment; if (attachment) compFields.addAttachment(attachment); 
context: function Attachments2CompFields(compFields){  var body = document.getElementById('bucketBody');  var item, row, text, colon;  var attachment;  //First, we need to clear all attachment in the compose fields  compFields.removeAttachments();  for (var index = 0; index < body.childNodes.length; index++)  {    item = body.childNodes[index];    if (item.childNodes && item.childNodes.length)    {      row = item.childNodes[0];      if (row.childNodes &&  row.childNodes.length)      {        cell = row.childNodes[0];        if (cell)          {          attachment = cell.attachment;          if (attachment)            compFields.addAttachment(attachment);        }      }    }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js