mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 22:08:51 +00:00
Monotone-Parent: 68e43f2315bf24800d73ddb9f73af051eca9aba4
Monotone-Revision: 73611f6bef70fd39e1aa66a4aae311b19f594980 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-12-10T15:56:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -9,4 +9,21 @@ function initPopupMailer(event) {
|
||||
resizeMailContent();
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
FastInit.addOnLoad(initPopupMailer);
|
||||
|
||||
Reference in New Issue
Block a user