Fixed calendar display change issue

Monotone-Parent: a49dddbcfd99daf939a96a58365d763aadf1efc8
Monotone-Revision: 8ca5aace55726ddec16532b1c35cb58a10926682

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-08-20T17:27:08
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-08-20 17:27:08 +00:00
parent 5e84df5faa
commit 51b2141369
+3 -2
View File
@@ -1163,8 +1163,9 @@ function calendarDisplayCallback(http) {
div.update(http.responseText);
// DOM has changed
if (preventAutoScroll)
$("daysView").scrollTop = position;
daysView = $("daysView");
if (preventAutoScroll && daysView)
daysView.scrollTop = position;
if (http.callbackData["view"])
currentView = http.callbackData["view"];