mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user