See ChangeLog

Monotone-Parent: a4f6c377a41454eb21ed5b253cb7d07fc2c1a55e
Monotone-Revision: 3c7106a946b0d9786d46c4f0c0a7e5bc1e5f8684

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-12-29T17:50:48
This commit is contained in:
Ludovic Marcotte
2011-12-29 17:50:48 +00:00
parent 5799804274
commit 516dcdb255
9 changed files with 74 additions and 18 deletions
+4 -5
View File
@@ -855,7 +855,7 @@ function openMailbox(mailbox, reload) {
Mailer.currentMailbox = mailbox;
if (!getUnseenCountForAllFolders && Mailer.unseenCountMailboxes.indexOf(mailbox) == -1) {
if (Mailer.unseenCountMailboxes.indexOf(mailbox) == -1) {
Mailer.unseenCountMailboxes.push(mailbox);
}
@@ -2048,10 +2048,9 @@ function initMailboxTreeCB() {
checkAjaxRequestsState();
getFoldersState();
configureDroppables();
if (getUnseenCountForAllFolders) {
for (var i = 0; i < mailboxTree.aNodes.length; i++) {
var mailboxPath = mailboxTree.aNodes[i].dataname;
Mailer.unseenCountMailboxes.push(mailboxPath);
if (unseenCountFolders.length > 0) {
for (var i = 0; i < unseenCountFolders.length; i++) {
Mailer.unseenCountMailboxes.push(unseenCountFolders[i]);
}
refreshUnseenCounts();
}