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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f7863d2d1eb324652cf2e18487ce152f0fd77977/calendar.js/clean/calendar/resources/content/calendar.js