modifyEventWithDialog(itemToEdit); 
 this.createPendingModification(itemToEdit); 
    modifyOccurrence: function (aOccurrence, aNewStartTime, aNewEndTime, aNewTitle) {        // if modifying this item directly (e.g. just dragged to new time),        // then do so; otherwise pop up the dialog        if ((aNewStartTime && aNewEndTime) || aNewTitle) {            var instance = aOccurrence.clone();            if (aNewTitle) {                instance.title = aNewTitle;            }            // When we made the executive decision (in bug 352862) that            // dragging an occurrence of a recurring event would _only_ act            // upon _that_ occurrence, we removed a bunch of code from this            // function. If we ever revert that decision, check CVS history            // here to get that code back.            if (aNewStartTime) { // we know we have aEndTime too then                // Yay for variable names that make this next line look silly                if (instance instanceof Components.interfaces.calIEvent) {                    instance.startDate = aNewStartTime;                    instance.endDate = aNewEndTime;                } else {                    instance.entryDate = aNewStartTime;                    instance.dueDate = aNewEndTime;                }            }            doTransaction('modify', instance, instance.calendar, aOccurrence, null);        } else {            // prompt for choice between occurrence and master for recurrent items            var itemToEdit = getOccurrenceOrParent(aOccurrence);            if (!itemToEdit) {                return;  // user cancelled            }            modifyEventWithDialog(itemToEdit);        }    },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/8a8fb1e50f1a74dbb1713b031761c84e92fa5b69/calendar-views.js/buggy/calendar/base/content/calendar-views.js