[fix] initial loading of inbox uids and headers
parent
eae327ca19
commit
755efa789b
1
NEWS
1
NEWS
|
@ -13,6 +13,7 @@ Bug fixes
|
|||
- fixed timezone of MSExchange freebusy information
|
||||
- fixed a potential EAS error with multiple email priority flags
|
||||
- fixed paragraphs margins in HTML messages (#3163)
|
||||
- fixed regression when loading the inbox for the first time
|
||||
|
||||
2.2.17a (2015-03-15)
|
||||
--------------------
|
||||
|
|
|
@ -916,10 +916,11 @@ function openMailbox(mailbox, reload) {
|
|||
dataSource.init(inboxData['uids'], inboxData['threaded'], inboxData['headers'], inboxData['quotas']);
|
||||
inboxData = null; // invalidate this initial lookup
|
||||
}
|
||||
else
|
||||
else {
|
||||
// Fetch UIDs and headers from server
|
||||
var content = Object.toJSON(urlParams);
|
||||
dataSource.load(content);
|
||||
}
|
||||
// Cache data source
|
||||
Mailer.dataSources.set(key, dataSource);
|
||||
// Update unseen count
|
||||
|
|
Loading…
Reference in New Issue