Monotone-Parent: 9cf7b509368bfae983681bb7bde958d265418598

Monotone-Revision: 032556b8bd0443874b304846324f454972349ed7

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-03-28T17:11:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-03-28 17:11:38 +00:00
parent 2ab5fa8247
commit 2078817622
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -766,7 +766,11 @@ function refreshCalendarEventsCallback(http) {
dateTuples[j][c.start] < dateTuples[i][c.end] ||
dateTuples[j][c.start] == dateTuples[i][c.start] &&
dateTuples[j][c.end] < dateTuples[i][c.end] ){
dateTuples[j][c.end] < dateTuples[i][c.end] ||
dateTuples[j][c.start] == dateTuples[i][c.start] &&
dateTuples[j][c.end] == dateTuples[i][c.end] &&
i < j) {
// Same period
if (dateTuples[j][c.siblingsCount] > maxCount)
maxCount = dateTuples[j][c.siblingsCount];