Monotone-Parent: 29012a24fcdd112faf6be38cab14b049484469f6
Monotone-Revision: 2dcd3767ec243afcd8e444a801259ca2507bd02e

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-10-20T17:13:13
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-10-20 17:13:13 +00:00
parent ce8eda6941
commit 278bba0494

View File

@@ -173,7 +173,7 @@ function clickedEditorSend(sender) {
var lastRow = $("lastRow");
lastRow.down("select").name = "popup_last";
//window.shouldPreserve = true;
window.shouldPreserve = true;
document.pageform.action = "send";
document.pageform.submit();
@@ -259,7 +259,7 @@ function clickedEditorSave(sender) {
var lastRow = $("lastRow");
lastRow.down("select").name = "popup_last";
//window.shouldPreserve = true;
window.shouldPreserve = true;
document.pageform.action = "save";
document.pageform.submit();
@@ -712,9 +712,9 @@ function onWindowResize(event) {
}
function onMailEditorClose(event) {
// if (window.shouldPreserve)
// window.shouldPreserve = false;
// else {
if (window.shouldPreserve)
window.shouldPreserve = false;
else {
if (window.opener && window.opener.open && !window.opener.closed) {
var url = "" + window.location;
var parts = url.split("/");
@@ -722,7 +722,7 @@ function onMailEditorClose(event) {
url = parts.join("/");
window.opener.deleteDraft(url);
}
// }
}
if (MailEditor.addressBook && MailEditor.addressBook.open
&& !MailEditor.addressBook.closed)