Monotone-Parent: fc65404103126a45384bce022216f93bcfda9947

Monotone-Revision: c82fa3a0a9e49b2847375618663be00b9c62b181

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-06-12T15:43:51
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2007-06-12 15:43:51 +00:00
parent 3babd4a347
commit 69206cea70
2 changed files with 13 additions and 4 deletions

View file

@ -178,6 +178,9 @@ DIV#calendarView A
#filterPanel
{ padding-right: .5em; }
DIV#dateSelectorView
{ overflow: hidden; }
#dateSelector
{ margin: 0px auto;
background: #fff;
@ -229,6 +232,9 @@ DIV#calendarView A
#dateSelector .dayOfWeek
{ color: #00f; }
TABLE#dateSelectorTable
{ padding: 2px; }
#dateSelector TABLE#dateSelectorTable TD
{ width: 14%; }
@ -252,6 +258,9 @@ DIV#calendarView A
{ color: #f00;
border: 1px solid #deebf7; }
#dateSelector TABLE TABLE TD:hover A
{ color: #f00; }
#dateSelector .inactiveDay
{ color: #dedfde; }
@ -266,7 +275,7 @@ DIV#calendarView A
display: block; }
#dateSelector TD SPAN A
{ color: inherit;
{ color: #000;
background: inherit;
text-decoration: none; }

View file

@ -228,12 +228,12 @@ function onSelectAll() {
}
function onDaySelect(node) {
var day = node.day;
var day = node.getAttribute('day');
var needRefresh = (listFilter == 'view_selectedday'
&& day != currentDay);
var td = $(node).getParentWithTagName("td");
var table = td.getParentWithTagName("table");
var table = $(td).getParentWithTagName("table");
// log ("table.selected: " + table.selected);
@ -523,7 +523,7 @@ function scrollDayView(hour) {
var daysView = $("daysView");
var hours =
$(daysView.childNodesWithTag("div"))[0].childNodesWithTag("div");
$(daysView.childNodesWithTag("div")[0]).childNodesWithTag("div");
if (hours.length > 0)
daysView.scrollTop = hours[rowNumber].offsetTop;
}