fix month events categories display

This commit is contained in:
Alexandre Cloutier 2014-07-04 10:46:49 -04:00
parent 103bb6803a
commit 017a85b7f2

View file

@ -2074,10 +2074,9 @@ function newEventDIV(eventRep, event) {
var left = eventRep.position * pc;
eventCell.style.left = left + "%";
var right = 100 - (eventRep.position + 1) * pc;
if (event[10] != null) {
if (event[10] != null)
eventCell.style.borderRight = "8px solid";
}
eventCell.style.right = right + "%";
eventCell.addClassName("starts" + eventRep.start);
eventCell.addClassName("lasts" + eventRep.length);
@ -2118,6 +2117,8 @@ function newMonthEventDIV(eventRep, event) {
var eventCell = newBaseEventDIV(eventRep, event,
eventText);
if (event[10] != null)
eventCell.style.borderRight = "8px solid";
return eventCell;
}