projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d694094
)
Only set IDs for days of the current month.
author
Jan Schneider
<jan@horde.org>
Mon, 30 Nov 2009 17:13:50 +0000
(18:13 +0100)
committer
Jan Schneider
<jan@horde.org>
Mon, 30 Nov 2009 17:13:50 +0000
(18:13 +0100)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
3080d2a
..
d8f657e
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-787,11
+787,10
@@
KronolithCore = {
}
// Insert day cell.
td = new Element('td').store('date', dateString);
- if (!Object.isUndefined(idPrefix)) {
- td.id = idPrefix + dateString;
- }
if (day.getMonth() != date.getMonth()) {
td.addClassName('kronolithMinicalEmpty');
+ } else if (!Object.isUndefined(idPrefix)) {
+ td.id = idPrefix + dateString;
}
// Highlight days currently being displayed.
if (view &&