2007-08-08 23:36:17 +02:00
|
|
|
function onPrintCurrentMessage(event) {
|
|
|
|
window.print();
|
|
|
|
|
|
|
|
preventDefault(event);
|
|
|
|
}
|
2007-08-15 00:09:20 +02:00
|
|
|
|
2007-10-27 00:17:29 +02:00
|
|
|
function initPopupMailer(event) {
|
|
|
|
configureLinksInMessage();
|
|
|
|
resizeMailContent();
|
|
|
|
}
|
|
|
|
|
2007-12-10 16:56:13 +01:00
|
|
|
function onMenuDeleteMessage(event) {
|
|
|
|
|
|
|
|
if (window.opener && window.opener.open && !window.opener.closed) {
|
|
|
|
var rowId = window.name.substr(9);
|
|
|
|
var messageId = window.opener.Mailer.currentMailbox + "/" + rowId;
|
|
|
|
var url = ApplicationBaseURL + messageId + "/trash";
|
|
|
|
|
|
|
|
window.opener.deleteMessageWithDelay(url,
|
|
|
|
rowId,
|
|
|
|
window.opener.Mailer.currentMailbox,
|
|
|
|
messageId);
|
|
|
|
}
|
|
|
|
|
|
|
|
window.close();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-15 20:02:23 +01:00
|
|
|
FastInit.addOnLoad(initPopupMailer);
|