rem: item = kid.item.parentItem.clone(); 
add: var item = kid.item.parentItem.clone(); 
context: function onDismissAll(){  var now = Components.classes["@mozilla.org/calendar/datetime;1"]                      .createInstance(Components.interfaces.calIDateTime);  now.jsDate = new Date();  now = now.getInTimezone("UTC");  var box = document.getElementById("alarmlist");  for each (kid in box.childNodes) {    // We want the parent item, otherwise we're going to accidentally create an    // exception.  We've relnoted (for 0.1) the slightly odd behavior this can    // cause if you move an event after dismissing an alarm    item = kid.item.parentItem.clone();    item.alarmLastAck = now;    item.calendar.modifyItem(item, kid.item, null);  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1e9187af646aaa8f9d4f899cd46d20f7e6ac093f/calendar-alarm-dialog.js/buggy/calendar/base/content/calendar-alarm-dialog.js