mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
Monotone-Parent: c0151034b0d2d524c781ad3135709a8b9ff7a3c8
Monotone-Revision: b6562cfc2be0b285ef7b97891b12497ca0e09dd8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-03T22:59:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -311,6 +311,18 @@ function onMonthOverview()
|
||||
return _ensureView("monthview");
|
||||
}
|
||||
|
||||
function scrollDayViewTo8()
|
||||
{
|
||||
var calContent = $("calendarContent");
|
||||
var tables = calContent.getElementsByTagName("table");
|
||||
if (tables.length > 0) {
|
||||
var row = tables[0].rows[9];
|
||||
var cell = row.cells[1];
|
||||
|
||||
calContent.scrollTop = cell.offsetTop;
|
||||
}
|
||||
}
|
||||
|
||||
function calendarDisplayCallback(http)
|
||||
{
|
||||
var div = $("calendarView");
|
||||
@@ -324,6 +336,7 @@ function calendarDisplayCallback(http)
|
||||
currentView = http.callbackData["view"];
|
||||
if (http.callbackData["day"])
|
||||
currentDay = http.callbackData["day"];
|
||||
scrollDayViewTo8();
|
||||
}
|
||||
else
|
||||
log ("ajax fuckage");
|
||||
|
||||
Reference in New Issue
Block a user