Don't count events twice which overlap two week rows

This commit is contained in:
Thomas 2011-09-09 20:40:54 +02:00
parent ad71270108
commit 69d6c3e8bd

View file

@ -1581,6 +1581,8 @@ function rcube_calendar_ui(settings)
if (view.name == 'month') {
if (event_resizing)
return true;
else if (view._suppressed[event.id])
return false;
// limit the number of events displayed
var sday = event.start.getMonth()*100 + event.start.getDate();
@ -1605,9 +1607,6 @@ function rcube_calendar_ui(settings)
return false; // suppress event
}
}
else if (view._suppressed[event.id]) {
return false;
}
}
else {
if (event.location) {