Skip to content

Commit

Permalink
Fix error when all day event is hidden
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13433

Conflicts:
	kronolith/docs/CHANGES
	kronolith/package.xml
  • Loading branch information
Jasper Olbrich authored and yunosh committed Aug 19, 2014
1 parent ed70375 commit dcef41d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kronolith/js/kronolith.js
Expand Up @@ -1614,6 +1614,8 @@ KronolithCore = {
// We don't want more than one all-day
// event.
var elm = allDays.pop();
// Remove element from events as well.
events = events.without(elm);
elm.purge();
elm.remove();
insertBefore = this.findInsertBefore(events, event, date);
Expand Down

0 comments on commit dcef41d

Please sign in to comment.