rem:  if (instance instanceof Components.interfaces.calIEvent) { instance.startDate = aNewStartTime; instance.endDate = aNewEndTime; } else { instance.entryDate = aNewStartTime; instance.dueDate = aNewEndTime; 
add: if (aNewStartTime) {  if (instance instanceof Components.interfaces.calIEvent) { instance.startDate = aNewStartTime; instance.endDate = aNewEndTime; } else { instance.entryDate = aNewStartTime; instance.dueDate = aNewEndTime; } 
context:     modifyOccurrence: function (aOccurrence, aNewStartTime, aNewEndTime) {        // if modifying this item directly (e.g. just dragged to new time),        // then do so; otherwise pop up the dialog        if (aNewStartTime && aNewEndTime) {            var instance = aOccurrence.clone();            // 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.            // 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);        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7e2e55b89bf28d91e22c8477a0445e20d4689719/calendar-views.js/buggy/calendar/base/content/calendar-views.js