rem: openEventDialog(calendarEvent, "edit", self.modifyEventDialogResponse, null); 
add: if( gCalendarWindow.EventSelection.selectedEvents.length == 1 ) { var calendarEvent = gCalendarWindow.EventSelection.selectedEvents[0];  if( calendarEvent != null ) { modifyEventWithDialog(calendarEvent); } } 
context: function editEvent( calendarEvent ){  openEventDialog(calendarEvent,                  "edit",                  self.modifyEventDialogResponse,                  null);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/edb75cb3aa7fe2a0098e7d7a97a91ce5dd7f6556/calendar.js/buggy/calendar/resources/content/calendar.js