rem: var SelectedItems = gCalendarWindow.EventSelection.selectedEvents; deleteItems( SelectedItems, DoNotConfirm ); gCalendarWindow.EventSelection.emptySelection(); 
add: var SelectedItems = currentView().getSelectedItems({}); deleteItems( SelectedItems, DoNotConfirm ); 
context: function deleteEventCommand( DoNotConfirm ){   var SelectedItems = gCalendarWindow.EventSelection.selectedEvents;   deleteItems( SelectedItems, DoNotConfirm );   gCalendarWindow.EventSelection.emptySelection();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/23fce7cac682e3a6c382c813fd5e068be567d78d/calendar.js/clean/calendar/resources/content/calendar.js