mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Set response ErrorCode as iError for easier fetch error handling
This commit is contained in:
parent
a46c0c3b21
commit
11fd6736bb
24 changed files with 145 additions and 253 deletions
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
this.loading(true);
|
||||
|
||||
rl.pluginRemoteRequest(function (iError, oData) {
|
||||
rl.pluginRemoteRequest((iError, oData) => {
|
||||
|
||||
self.loading(false);
|
||||
|
||||
if (!iError && oData && oData.Result) {
|
||||
if (!iError) {
|
||||
self.php(oData.Result.PHP || '');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue