See Changelog

Monotone-Parent: 870b4c8a5782c840ff0aa2f075ea7594bda50e59
Monotone-Revision: 39d36001db32af64db061e377168a6c1bc81941d

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-11-10T14:57:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-11-10 14:57:55 +00:00
parent 99f5614b7d
commit 65fe5727b5
4 changed files with 39 additions and 19 deletions

View File

@@ -84,7 +84,6 @@ SOGoMailDataSource = Class.create({
this.init(data.uids, data.headers);
else
this.init(data);
this.loaded = true;
if (this.delayedGetData) {
this.delayedGetData();
this.delayedGetData = false;
@@ -99,7 +98,7 @@ SOGoMailDataSource = Class.create({
getData: function(id, index, count, callbackFunction, delay) {
if (this.loaded == false) {
// UIDs are not yet loaded -- delay the call until loading the data is completed.
// log ("MailDataSource.getData() delaying data fetching while waiting for UIDs");
// log ("MailDataSource.getData() delaying data fetching while waiting for UIDs");
this.delayedGetData = this.getData.bind(this, id, index, count, callbackFunction, delay);
return;
}