Don't count events twice which overlap two week rows
This commit is contained in:
parent
ad71270108
commit
69d6c3e8bd
1 changed files with 2 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue