From 4c917203f1e057ba3cbd8566815781af24111fba Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 7 Jun 2009 17:09:32 +0200 Subject: [PATCH] Fix logic. --- kronolith/js/src/kronolith.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index 8fb0b3390..a65611dea 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -850,9 +850,8 @@ KronolithCore = { this._getCacheForDate(date).sortBy(this._sortEvents).each(function(event) { switch (view) { - case 'day': - case 'week': case 'month': + case 'agenda': if (calendar != event.value.calendar) { return; } @@ -892,6 +891,8 @@ KronolithCore = { day.next().day(); } + // Workaround Firebug bug. + Prototype.emptyFunction(); }, /** -- 2.11.0