Removed reference to FastInit.js

Monotone-Parent: 244f630f9b5b56de06c1348c5371d785e2f3d3a3
Monotone-Revision: 3a4ed372ee2495e9c893842ebe71384ea3ebcd65

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-03-12T21:09:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-03-12 21:09:14 +00:00
parent 40b6d7a77c
commit 21ab040534
22 changed files with 52 additions and 48 deletions
+7 -4
View File
@@ -160,7 +160,7 @@ function markMailReadInWindow(win, msguid) {
/* mail list reply */
function openMessageWindowsForSelection(action, firstOnly) {
if (document.body.hasClassName("popup")) {
if ($(document.body).hasClassName("popup")) {
var url = window.location.href;
var parts = url.split("/");
parts[parts.length-1] = action;
@@ -897,7 +897,7 @@ function configureLinksInMessage() {
var messageDiv = $('messageContent');
var mailContentDiv = document.getElementsByClassName('mailer_mailcontent',
messageDiv)[0];
if (!document.body.hasClassName("popup"))
if (!$(document.body).hasClassName("popup"))
mailContentDiv.observe("contextmenu", onMessageContentMenu);
var anchors = messageDiv.getElementsByTagName('a');
@@ -1454,8 +1454,9 @@ function initMailer(event) {
initMailboxTree();
initMessageCheckTimer();
/* Perform an expunge when leaving the webmail */
Event.observe(document, "keydown", onDocumentKeydown);
/* Perform an expunge when leaving the webmail */
if (isSafari()) {
$('calendarBannerLink').observe("click", onUnload);
$('contactsBannerLink').observe("click", onUnload);
@@ -1465,8 +1466,8 @@ function initMailer(event) {
Event.observe(window, "beforeunload", onUnload);
}
onWindowResize.defer();
Event.observe(window, "resize", onWindowResize);
onWindowResize(null);
// Default sort options
sorting["attribute"] = "date";
@@ -1712,6 +1713,8 @@ function onLoadMailboxesCallback(http) {
updateStatusFolders();
}
}
else
log ("onLoadMailboxesCallback " + http.status);
}
// var tree = $("mailboxTree");