From: Michael J. Rubinsky Date: Sat, 28 Nov 2009 23:33:26 +0000 (-0500) Subject: Fix hightlighting current day in the minical X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cb81774e4973037843f3d4a67f3c34ed1195eb24;p=horde.git Fix hightlighting current day in the minical --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 5b7eeee4d..bac9ba5f2 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -763,6 +763,8 @@ KronolithCore = { date7 = date.clone().add(1).week(), today = Date.today(), weekStart, weekEnd, weekEndDay, dateString, td, tr, i; + day = new Date(day.getFullYear(), day.getMonth(), day.getDate(), 0, 0, 0); + // Remove old calendar rows. Maybe we should only rebuild the minical // if necessary. tbody.childElements().invoke('remove');