rem: if(!attachmentToAdd) return;   document.getElementById("attachmentBucket").appendItem(attachmentToAdd.url, attachmentToAdd.url); 
add: if( !attachmentToAdd || isAlreadyAttachment(attachmentToAdd) ) return; 
context: function addAttachment(attachmentToAdd){   if(!attachmentToAdd)      return;      //add a row to the listbox   document.getElementById("attachmentBucket").appendItem(attachmentToAdd.url, attachmentToAdd.url);   //sizeToContent();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e1f5e420817ca9cf29dafabdbab36734bd3cc925/eventDialog.js/buggy/calendar/resources/content/eventDialog.js