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