projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e29b12
)
Fix hightlighting current day in the minical
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 28 Nov 2009 23:33:26 +0000
(18:33 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 28 Nov 2009 23:33:26 +0000
(18:33 -0500)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
5b7eeee
..
bac9ba5
100644
(file)
--- 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');