mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Monotone-Parent: 1175fba37fd9ba323ce110c5136b0751279a5e37
Monotone-Revision: 7783dd885054cebd0991b4226695bea400c2c6c1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-10-16T18:07:09 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user