rem: newEvent.parent.modifyItem(newEvent, null); 
add: doTransaction('modify', newEvent, newEvent.parent, calendarEvent, null); 
context:             onOperationComplete: function(calendar, status, type, id, detail) {              var newStartDate = jsDateToDateTime(gDropzoneStartTime);              if (calendarEvent) {                // if we got a calendar event from onGetResult, then clone it and modify its                // time directly and then call modify on it                var newEvent = calendarEvent.clone().QueryInterface(Components.interfaces.calIEvent);                newEvent.startDate = newStartDate;                newEvent.endDate = newStartDate.clone();                newEvent.endDate.addDuration(eventDuration);                newEvent.parent.modifyItem(newEvent, null);              } else {                // if we didn't get a calendar event, then we want to open the edit dialog with                // the new event                dropEvent.id = newEventId;                // XXX TODO Check if stamp/DTSTAMP is correclty set to current time                dropEvent.startDate = newStartDate;                dropEvent.endDate = newStartDate.clone();                dropEvent.endDate.addDuration(eventDuration);                editNewEvent( dropEvent );              }            },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/94ba73e1e0ab1eea4efc3f951f1ef6ec5eca64ea/dragDrop.js/clean/calendar/resources/content/dragDrop.js