mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-04 09:59:44 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user