mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 19:48:53 +00:00
See ChangeLog.
Monotone-Parent: 9a4fbee9a3ab5f905ffeb22dc90fe024081bf88d Monotone-Revision: 45fc846cf2415007c8d3b6ea92634c86de44afa7 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-06-16T08:11:06 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
2011-06-20 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/MailerUI.js (onMenuEmptyTrashCallback):
|
||||
reset the unseen count when emptying the trash folder.
|
||||
when emptying the trash folder, reset the unseen count and reset
|
||||
the reference to the last selected message.
|
||||
|
||||
2011-06-17 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
|
||||
@@ -912,9 +912,8 @@ function unseenCountCallback(http) {
|
||||
document.unseenCountAjaxRequest = null;
|
||||
var data = http.responseText.evalJSON(true);
|
||||
var node = mailboxTree.getMailboxNode(http.callbackData);
|
||||
if (node) {
|
||||
if (node)
|
||||
updateUnseenCount(node, data.unseen, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2343,8 +2342,10 @@ function onMenuEmptyTrash(event) {
|
||||
$('messageContent').innerHTML = '';
|
||||
}
|
||||
var msgID = Mailer.currentMessages[folderID];
|
||||
if (msgID)
|
||||
if (msgID) {
|
||||
delete Mailer.currentMessages[folderID];
|
||||
deleteCachedMessage(folderID + "/" + msgID);
|
||||
}
|
||||
}
|
||||
|
||||
function onMenuEmptyTrashCallback(http) {
|
||||
|
||||
Reference in New Issue
Block a user