rem: var calEvent = eventBox.calEvent; 
add: var calEvent = eventBox.event; 
context: function weekEventItemClick(eventBox, event){    //do this check, otherwise on double click you get into an infinite loop    if (event.detail == 1) {        var calEvent = eventBox.calEvent;        gCalendarWindow.EventSelection.replaceSelection(calEvent);        var newDate = new Date(calEvent.startDate.jsDate);        gCalendarWindow.setSelectedDate(newDate, false);    }    if (event) {        event.stopPropagation();    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/68b636674e4aa41ee954b93307bb6eeb4f03885d/calendar.js/buggy/calendar/resources/content/calendar.js