rem: doTransaction('delete', SelectedItems[i], SelectedItems[i].calendar, null, null); 
add: var aOccurrence = SelectedItems[i]; if (aOccurrence.parentItem != aOccurrence) { var event = aOccurrence.parentItem.clone(); event.recurrenceInfo.removeOccurrenceAt(aOccurrence.recurrenceId); doTransaction('modify', event, event.calendar, aOccurrence.parentItem, null); } else { doTransaction('delete', aOccurrence, aOccurrence.calendar, null, null); } 
context: function deleteItems( SelectedItems, DoNotConfirm ){    if (!SelectedItems)        return;    startBatchTransaction();    for (i in SelectedItems) {        doTransaction('delete', SelectedItems[i], SelectedItems[i].calendar, null, null);    }    endBatchTransaction();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d854f0df2047d75d236585618cdd7d9af6da8fe3/calendar.js/buggy/calendar/resources/content/calendar.js