mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-24 04:45:24 +00:00
(js) Restore threads status on initial load
This commit is contained in:
@@ -955,6 +955,8 @@ function openMailbox(mailbox, reload) {
|
||||
var messageList = $("messageListBody").down('TBODY');
|
||||
var key = mailbox;
|
||||
|
||||
Mailer.currentMailbox = mailbox;
|
||||
|
||||
if (reload) {
|
||||
// Don't change data source, only query UIDs from server and refresh
|
||||
// the view. Cases that end up here:
|
||||
@@ -997,8 +999,6 @@ function openMailbox(mailbox, reload) {
|
||||
Mailer.dataTable.render();
|
||||
}
|
||||
|
||||
Mailer.currentMailbox = mailbox;
|
||||
|
||||
if (Mailer.unseenCountMailboxes.indexOf(mailbox) == -1) {
|
||||
Mailer.unseenCountMailboxes.push(mailbox);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user