mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-11-07 22:07:40 +08:00
Long GET request fixes (Closes #451)
This commit is contained in:
parent
d7e8aa04ac
commit
d9dabab1dc
1 changed files with 4 additions and 2 deletions
|
|
@ -29,6 +29,8 @@
|
||||||
AbstractRemoteStorage.call(this);
|
AbstractRemoteStorage.call(this);
|
||||||
|
|
||||||
this.oRequests = {};
|
this.oRequests = {};
|
||||||
|
|
||||||
|
this.sSubSubQuery = '&ss=/';
|
||||||
}
|
}
|
||||||
|
|
||||||
_.extend(RemoteUserStorage.prototype, AbstractRemoteStorage.prototype);
|
_.extend(RemoteUserStorage.prototype, AbstractRemoteStorage.prototype);
|
||||||
|
|
@ -337,7 +339,7 @@
|
||||||
{
|
{
|
||||||
return this.defaultRequest(fCallback, 'MessageList', {},
|
return this.defaultRequest(fCallback, 'MessageList', {},
|
||||||
'' === sSearch ? Consts.Defaults.DefaultAjaxTimeout : Consts.Defaults.SearchAjaxTimeout,
|
'' === sSearch ? Consts.Defaults.DefaultAjaxTimeout : Consts.Defaults.SearchAjaxTimeout,
|
||||||
'MessageList/' + Base64.urlsafe_encode([
|
'MessageList/' + this.sSubSubQuery + Base64.urlsafe_encode([
|
||||||
sFolderFullNameRaw,
|
sFolderFullNameRaw,
|
||||||
iOffset,
|
iOffset,
|
||||||
iLimit,
|
iLimit,
|
||||||
|
|
@ -388,7 +390,7 @@
|
||||||
if (Cache.getFolderFromCacheList(sFolderFullNameRaw) && 0 < iUid)
|
if (Cache.getFolderFromCacheList(sFolderFullNameRaw) && 0 < iUid)
|
||||||
{
|
{
|
||||||
this.defaultRequest(fCallback, 'Message', {}, null,
|
this.defaultRequest(fCallback, 'Message', {}, null,
|
||||||
'Message/' + Base64.urlsafe_encode([
|
'Message/' + this.sSubSubQuery + Base64.urlsafe_encode([
|
||||||
sFolderFullNameRaw,
|
sFolderFullNameRaw,
|
||||||
iUid,
|
iUid,
|
||||||
AppStore.projectHash(),
|
AppStore.projectHash(),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue