Monotone-Parent: 6c6de2f0d403cfa411f80a8674bbd04da598e17e

Monotone-Revision: 79cc22f9c2a49076ea278b33a8c3a3ac249d9b75

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-29T14:47:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-29 14:47:14 +00:00
parent 6127c7f2e7
commit 37a4b12fa6
+3 -4
View File
@@ -2082,9 +2082,8 @@ function drawNowLine () {
var d = new Date();
var hours = d.getHours();
var minutes = d.getMinutes();
var test = $$("DIV#daysView DIV.days DIV.day");
// day view
if (test.length == 1) {
if (currentView == "dayview") {
var today = new Date ();
var m = parseInt(today.getMonth ()) + 1;
var d = today.getDate ();
@@ -2096,7 +2095,7 @@ function drawNowLine () {
var targets = $$("DIV#daysView DIV.days DIV.day[day=" + day
+ "] DIV.events DIV.clickableHourCell");
}
else
else if (currentView == "weekview")
var targets = $$("DIV#daysView DIV.days DIV.dayOfToday DIV.events DIV.clickableHourCell");
if (targets) {