rem: gCalendarWindow.EventSelection.replaceSelection( currentTarget.calendarEventDisplay.event ); 
add: gCalendarWindow.EventSelection.replaceSelection( currentTarget.event ); 
context: function calendarViewClick ( aEvent ) {  var currentTarget = aEvent.currentTarget;  var currentTargetFirstClassName = currentTarget.className.split(" ")[0];  if(currentTargetFirstClassName == "day-view-hour-box-class")    dayViewHourClick( aEvent );  if(currentTargetFirstClassName == "day-view-event-class")    gCalendarWindow.EventSelection.replaceSelection( currentTarget.calendarEventDisplay.event );     //dayEventItemClick( aEvent.target, aEvent );  if(currentTargetFirstClassName == "week-view-event-class")    gCalendarWindow.EventSelection.replaceSelection( currentTarget.calendarEventDisplay.event );  //if (gCalendarWindow.currentView == gCalendarWindow.weekView)    //weekViewHourClick( aEvent );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4965c3640b905bb308876d5db5244c2a32e74b64/dragDrop.js/buggy/calendar/resources/content/dragDrop.js