mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Fix Javascript error on create/delete folder (#1079)
This commit is contained in:
parent
9a1d5dd1d3
commit
c71ecbc12d
4 changed files with 18 additions and 17 deletions
|
|
@ -436,11 +436,12 @@ class AppUser extends AbstractApp
|
|||
.abort('Folders')
|
||||
.fastResolve(true)
|
||||
.then(() => promise)
|
||||
.catch((errorCode) => {
|
||||
FolderStore.folderList.error(getNotification(errorCode, '', errorDefCode));
|
||||
}).fin(() => {
|
||||
.then(() => {
|
||||
Promises.foldersReloadWithTimeout(FolderStore.foldersLoading);
|
||||
}).done()
|
||||
}, (errorCode) => {
|
||||
FolderStore.folderList.error(getNotification(errorCode, '', errorDefCode));
|
||||
Promises.foldersReloadWithTimeout(FolderStore.foldersLoading);
|
||||
})
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue