mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-20 07:34:53 +00:00
@@ -1840,7 +1840,7 @@ function refreshCurrentFolder() {
|
||||
|
||||
/* Called after sending an email */
|
||||
function refreshMessage(mailbox, messageUID) {
|
||||
if (Mailer.currentMailboxType == 'sent')
|
||||
if (Mailer.currentMailboxType == 'sent' || Mailer.currentMailboxType == 'draft')
|
||||
refreshCurrentFolder();
|
||||
else if (mailbox == Mailer.currentMailbox) {
|
||||
Mailer.dataTable.invalidate(messageUID);
|
||||
|
||||
@@ -166,7 +166,7 @@ function onPostComplete(http) {
|
||||
p = window.opener;
|
||||
if (p && p.refreshMessage)
|
||||
p.refreshMessage(jsonResponse["sourceFolder"],
|
||||
jsonResponse["messageID"]);
|
||||
jsonResponse["sourceMessageID"]);
|
||||
onCloseButtonClick();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user