mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Code refactoring (Q -> Promise)
This commit is contained in:
parent
7e4479d655
commit
1323a9ce52
10 changed files with 164 additions and 139 deletions
|
|
@ -1078,7 +1078,7 @@
|
|||
{
|
||||
self.downloadAsZipError(true);
|
||||
}
|
||||
}).fail(function () {
|
||||
}).catch(function () {
|
||||
self.downloadAsZipError(true);
|
||||
});
|
||||
}
|
||||
|
|
@ -1102,7 +1102,7 @@
|
|||
{
|
||||
self.saveToOwnCloudError(true);
|
||||
}
|
||||
}).fail(function () {
|
||||
}).catch(function () {
|
||||
self.saveToOwnCloudError(true);
|
||||
});
|
||||
}
|
||||
|
|
@ -1159,7 +1159,7 @@
|
|||
self.saveToDropboxError(true);
|
||||
}
|
||||
}
|
||||
}).fail(function () {
|
||||
}).catch(function () {
|
||||
self.saveToDropboxError(true);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue