mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-14 19:31:22 +00:00
(js) Restore threads status on initial load
This commit is contained in:
1
NEWS
1
NEWS
@@ -3,6 +3,7 @@
|
||||
|
||||
Bug fixes
|
||||
- sogo-tool manage-acl not working on v2 (#4292)
|
||||
- [web] restored mail threads state of inbox on initial page load
|
||||
|
||||
|
||||
2.3.23 (2017-10-18)
|
||||
|
||||
@@ -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