rem: MultiweekView.prototype.createEventBox = function multiweekView_createEventBox(itemOccurrence) 
add: MultiweekView.prototype.createEventBoxInternal = function multiweekView_createEventBox(itemOccurrence, startDate, endDate) 
context: MultiweekView.prototype.createEventBox = function multiweekView_createEventBox(itemOccurrence){    var calEvent = itemOccurrence.item.QueryInterface(Components.interfaces.calIEvent);    // Make a box item to hold the event    eventBox = document.createElement( "box" );    eventBox.setAttribute( "id", "multiweek-view-event-box-" + itemOccurrence.id );    eventBox.setAttribute( "name", "multiweek-view-event-box-"+ itemOccurrence.id );    eventBox.setAttribute("class", "multiweek-view-event-class");        eventBox.setAttribute( "eventbox", "multiweekview" );    eventBox.setAttribute( "onclick", "monthEventBoxClickEvent( this, event )" );    eventBox.setAttribute( "ondblclick", "monthEventBoxDoubleClickEvent( this, event )" );    eventBox.setAttribute( "onmouseover", "gCalendarWindow.changeMouseOverInfo( calendarEventDisplay, event )" );    eventBox.setAttribute( "tooltip", "eventTooltip" );    eventBox.setAttribute( "ondraggesture", "nsDragAndDrop.startDrag(event,monthViewEventDragAndDropObserver);" );    eventBox.event = calEvent;    var eventBoxText = document.createElement( "label" );    eventBoxText.setAttribute( "crop", "end" );    eventBoxText.setAttribute( "class", "multiweek-day-event-text-class" );    if(calEvent.isAllDay)    {        eventBox.setAttribute("allday", "true");        eventBoxText.setAttribute("value", calEvent.title );        // Create an image        var newImage = document.createElement("image");        newImage.setAttribute("class", "all-day-event-class");        eventBox.appendChild(newImage);    }    else    {        var eventStartTime = new Date(calEvent.startDate.jsDate.getTime());        var StartFormattedTime = this.calendarWindow.dateFormater.getFormatedTime(eventStartTime);        // display as "12:15 titleevent"        eventBoxText.setAttribute("value", StartFormattedTime+' '+ calEvent.title);    }    eventBoxText.setAttribute( "flex", "1" );    // add the text to the event box    eventBox.appendChild( eventBoxText );    return eventBox;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/cdf001b203f249bc1f5451e4f2d6fe7d62635de7/multiweekView.js/clean/calendar/resources/content/multiweekView.js