From: Jan Schneider Date: Fri, 26 Feb 2010 23:37:59 +0000 (+0100) Subject: Catch some edge case. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=09c33e14ee135e80cae6ce5ef6ae2b93acf26e3d;p=horde.git Catch some edge case. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index f9b8b27ce..87ac96015 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -2334,6 +2334,12 @@ KronolithCore = { var cal = calendar.join('|'); $H(events).each(function(date) { + // We might not have a cache for this date if the event lasts + // longer than the current view + if (!calHash.get(date.key)) { + return; + } + // Store calendar string and other useful information in event // objects. $H(date.value).each(function(event) {