mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 22:32:45 +00:00
We now correctly position and support the "Load Images" option
in HTML mails from a popup window. Monotone-Parent: 95dd42cd6a83e654864923e0ae5dba233def3394 Monotone-Revision: 222ceca8e71fe7e1c2395ac641b067b96b94ae3f Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-10-06T17:17:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -9,6 +9,21 @@ function onPrintCurrentMessage(event) {
|
||||
function initPopupMailer(event) {
|
||||
configureLinksInMessage();
|
||||
resizeMailContent();
|
||||
|
||||
var loadImagesButton = $("loadImagesButton");
|
||||
if (loadImagesButton)
|
||||
loadImagesButton.observe("click",
|
||||
onMessageLoadImages.bindAsEventListener(loadImagesButton));
|
||||
|
||||
configureLoadImagesButton();
|
||||
}
|
||||
|
||||
function onMessageLoadImages(event) {
|
||||
var msguid = window.opener.Mailer.currentMessages[window.opener.Mailer.currentMailbox];
|
||||
var url = (window.opener.ApplicationBaseURL + window.opener.encodeURI(window.opener.Mailer.currentMailbox) + "/"
|
||||
+ msguid + "/view?noframe=1&unsafe=1");
|
||||
document.messageAjaxRequest
|
||||
= triggerAjaxRequest(url, messageCallback, msguid);
|
||||
}
|
||||
|
||||
function onICalendarButtonClick(event) {
|
||||
|
||||
Reference in New Issue
Block a user