From c8722e5191df3bc47383d8620e2455cbb3d52ab2 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 7 Jun 2009 17:11:48 +0200 Subject: [PATCH] Fix logic, add some more comments. --- kronolith/js/src/kronolith.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index a65611dea..f3bd0acc2 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -793,10 +793,12 @@ KronolithCore = { /** * Reads events from the cache and inserts them into the view. * - * If inserting events into day views, the calendar parameter is ignored, - * and events from all visible calendars are inserted instead. This is - * necessary because the complete view has to be re-rendered if events are - * not in chronological order. + * If inserting events into day and week views, the calendar parameter is + * ignored, and events from all visible calendars are inserted instead. + * This is necessary because the complete view has to be re-rendered if + * events are not in chronological order. + * The year view is specially handled too because there are no individual + * events, only a summary of all events per day. * * @param Array dates Start and end of dates to process. * @param string view The view to update. -- 2.11.0