add: var now = Components.classes["@mozilla.org/calendar/datetime;1"] .createInstance(Components.interfaces.calIDateTime); now.jsDate = new Date(); now = now.getInTimezone("UTC"); var item = alarmWidget.item.clone(); item.alarmLastAck = now; item.calendar.modifyItem(item, alarmWidget.item, null);  
context: function onDismissAlarm(event){  // everything is just visual at this point. we don't need to do anything special.  var alarmWidget = event.target;  var parent = alarmWidget.parentNode;  parent.removeChild(alarmWidget);  if (!parent.hasChildNodes()) {    // If this was the last alarm, close the window.    window.close();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d2c3b149cf01f0c13b7b145d983a07a549258e0c/calendar-alarm-dialog.js/clean/calendar/base/content/calendar-alarm-dialog.js