mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-27 09:02:43 +00:00
Monotone-Parent: 20842c7bedd067f662544c3f0ea6480a9e8bfef3
Monotone-Revision: 5aaf09a46fc504e57187524d01cb8ccb8d9c8e1e Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-15T01:48:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -9,8 +9,23 @@ function initPopupMailer(event) {
|
||||
resizeMailContent();
|
||||
}
|
||||
|
||||
function onMenuDeleteMessage(event) {
|
||||
function onICalendarButtonClick(event) {
|
||||
var link = $("iCalendarAttachment").value;
|
||||
if (link) {
|
||||
var urlstr = link + "/" + this.action;
|
||||
var currentMsg;
|
||||
if (window.opener && window.opener.open && !window.opener.closed && window.messageUID) {
|
||||
var c = window.opener;
|
||||
window.opener.triggerAjaxRequest(urlstr,
|
||||
window.opener.ICalendarButtonCallback,
|
||||
window.messageUID);
|
||||
}
|
||||
}
|
||||
else
|
||||
log("no link");
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user