[fix] Issues with freebusy in attendees editor

This commit is contained in:
Francis Lachapelle
2015-03-31 15:19:53 -04:00
parent 94d546dc7a
commit ab121e6c15
3 changed files with 15 additions and 7 deletions
+10 -2
View File
@@ -391,6 +391,12 @@ function redisplayEventSpans() {
etHour++;
}
if (isAllDay) {
addDays++;
stHour = stMinute = 0;
etHour = etMinute = 0;
}
if (stHour < displayStartHour) {
stHour = displayStartHour;
stMinute = 0;
@@ -432,8 +438,10 @@ function redisplayEventSpans() {
if (currentSpanNbr > 3) {
currentSpanNbr = 0;
currentCellNbr++;
currentCell = row.cells[currentCellNbr];
spans = $(currentCell).childNodesWithTag("span");
if (currentCellNbr < row.cells.length) {
currentCell = row.cells[currentCellNbr];
spans = $(currentCell).childNodesWithTag("span");
}
}
deltaSpans--;
}