rem: var alarmlist = document.getElementById("alarmlist"); for (var i = alarmlist.childNodes.length-1; i >= 0; i--) { getAlarmService().dismissAlarm(alarmlist.childNodes[i].item); 
add: var alarmRichlist = document.getElementById("alarm-richlist"); for (var i = alarmRichlist.childNodes.length - 1; i >= 0; i--) { if (alarmRichlist.childNodes[i].item) { getAlarmService().dismissAlarm(alarmRichlist.childNodes[i].item); } 
context: function onDismissAllAlarms(event) {    // removes widgets on the fly:    var alarmlist = document.getElementById("alarmlist");    for (var i = alarmlist.childNodes.length-1; i >= 0; i--) {        getAlarmService().dismissAlarm(alarmlist.childNodes[i].item);    }    return true; // close dialog}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/14f01fb0c86c2a2ef4e2a1baaf2530baba8e4a91/calendar-alarm-dialog.js/clean/calendar/base/content/calendar-alarm-dialog.js