mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 14:26:18 +08:00
Bugfix: show timeout/abort error for #1071
This commit is contained in:
parent
b22d16a2b6
commit
1f8fddd3f4
1 changed files with 3 additions and 3 deletions
|
@ -200,11 +200,11 @@ MessagelistUserStore.reload = (bDropPagePosition = false, bDropCurrentFolderCach
|
|||
if (Notifications.RequestAborted !== iError) {
|
||||
MessagelistUserStore([]);
|
||||
}
|
||||
// if (oData.message) { error = oData.message + error; }
|
||||
// if (oData.reason) { error = oData.reason + " " + error; }
|
||||
} else {
|
||||
const collection = MessageCollectionModel.reviveFromJson(oData.Result, bCached);
|
||||
if (collection) {
|
||||
error = '';
|
||||
|
||||
const
|
||||
folderInfo = collection.folder,
|
||||
folder = getFolderFromCacheList(folderInfo.name);
|
||||
|
@ -278,8 +278,8 @@ MessagelistUserStore.reload = (bDropPagePosition = false, bDropCurrentFolderCach
|
|||
MessagelistUserStore([]);
|
||||
error = getNotification(Notifications.CantGetMessageList);
|
||||
}
|
||||
MessagelistUserStore.error(error);
|
||||
}
|
||||
MessagelistUserStore.error(error);
|
||||
MessagelistUserStore.loading(false);
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue