rem:    var item = kid.item.parentItem.clone(); item.alarmLastAck = now; item.calendar.modifyItem(item, kid.item, null); 
add: onDismissWidget(kid); 
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) {    if (!kid.item) {        continue;    }    // 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    var item = kid.item.parentItem.clone();    item.alarmLastAck = now;    item.calendar.modifyItem(item, kid.item, null);  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7f4c0bd7828bdc701a79838ace6546bbe8786364/calendar-alarm-dialog.js/clean/calendar/base/content/calendar-alarm-dialog.js