rem: originalItem.calendar.deleteItem(item, null); calendar.addItem(item, null); 
add: doTransaction('move', item, item.calendar, originalItem, null); 
context: function modifyEventWithDialog(item){    var onModifyItem = function(item, calendar, originalItem) {        // compare cal.uri because there may be multiple instances of        // calICalendar or uri for the same spec, and those instances are        // not ==.        if (!originalItem.calendar ||             (originalItem.calendar.uri.equals(calendar.uri)))            calendar.modifyItem(item, originalItem, null);        else {            originalItem.calendar.deleteItem(item, null);            calendar.addItem(item, null);        }    }    openEventDialog(item, item.calendar, "modify", onModifyItem);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c348c27713290a61685a3df906a945588f31cc13/calendar-item-editing.js/clean/calendar/base/content/calendar-item-editing.js