set the day view box class on the eventBoxes

This commit is contained in:
pavlov%pavlov.net 2005-01-10 21:15:40 +00:00
Родитель c2cab0a3f2
Коммит bcbbbac61f
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -323,7 +323,8 @@ DayView.prototype.createAllDayEventBox = function dayview_createAllDayEventBox(
eventBox.appendChild( newLabel );
eventBox.setAttribute( "name", "day-view-event-box-" + calendarEventDisplay.event.id );
this.setEventboxClass( eventBox, calendarEventDisplay.event, "day-view-all-day");
eventBox.setAttribute("class", "day-view-event-class");
//this.setEventboxClass( eventBox, calendarEventDisplay.event, "day-view-all-day");
eventBox.setAttribute( "onclick", "dayEventItemClick( this, event )" );
eventBox.setAttribute( "ondblclick", "dayEventItemDoubleClick( this, event )" );
@ -411,6 +412,7 @@ DayView.prototype.createEventBox = function(itemOccurrence)
eventBox.setAttribute( "name", "day-view-event-box-"+calEvent.id );
// set the event box to be of class day-view-event-class and the appropriate calendar-color class
eventBox.setAttribute("class", "day-view-event-class");
//this.setEventboxClass( eventBox, calEvent, "day-view");
eventBox.setAttribute( "top", eventTop );