rem: if (aOccurrence.parentItem != aOccurrence) { var event = aOccurrence.parentItem.clone(); event.recurrenceInfo.removeOccurrenceAt(aOccurrence.recurrenceId); event.calendar.modifyItem(event, aOccurrence.parentItem, null); 
add: var itemToDelete = getOccurrenceOrParent(aOccurrence); if (itemToDelete.parentItem != itemToDelete) { var event = itemToDelete.parentItem.clone(); event.recurrenceInfo.removeOccurrenceAt(itemToDelete.recurrenceId); event.calendar.modifyItem(event, itemToDelete.parentItem, null); 
context:     deleteOccurrence: function (aOccurrence) {        if (aOccurrence.parentItem != aOccurrence) {            var event = aOccurrence.parentItem.clone();            event.recurrenceInfo.removeOccurrenceAt(aOccurrence.recurrenceId);            event.calendar.modifyItem(event, aOccurrence.parentItem, null);        } else {            aOccurrence.calendar.deleteItem(aOccurrence, null);        }    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3caed9023758aef0a04f63b4a3079e70ea8ea8be/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js