rem: var calendarEventService = opener.gEventSource;  gICalLib = calendarEventService.getICalLib(); gICalLib.modifyEvent( Event ); 
add: opener.refreshRemoteCalendarAndRunFunction( Event, Event.parent.server, "modifyEvent" ); 
context: function snoozeAlarm( Event ){   var OuterBox = document.getElementById( Event.id );      var snoozeLength= OuterBox.getElementsByAttribute( "name", "alarm-length-field" )[0].value;   snoozeLength= parseFloat( snoozeLength );   var SnoozeUnits = document.getElementsByAttribute( "name", "alarm-length-units" )[0].value;   var Now = ( new Date() ).getTime();   var TimeToNextAlarm;      switch (SnoozeUnits )   {      case "minutes":         TimeToNextAlarm = parseInt( kDate_MillisecondsInMinute * snoozeLength );         break;      case "hours":         TimeToNextAlarm = parseInt( kDate_MillisecondsInHour * snoozeLength );         break;      case "days":         TimeToNextAlarm = parseInt( kDate_MillisecondsInDay * snoozeLength );         break;   }      var DateObjOfNextAlarm = new Date( Now + TimeToNextAlarm);      Event.setSnoozeTime( DateObjOfNextAlarm );      var calendarEventService = opener.gEventSource;      gICalLib = calendarEventService.getICalLib();   gICalLib.modifyEvent( Event );   var Id = getArrayId( Event )   gAllEvents.splice( Id, 1 );   buildEventBoxes();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/03b54c79062246ab92415b18a22faf2e06834db6/alertDialog.js/buggy/calendar/resources/content/alertDialog.js