Merge pull request #9433 from abpframework/liangshiwei/jquery

Allowing the developer to handle ajax error.
pull/9442/head
maliming 4 years ago committed by GitHub
commit 8e973c56da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,7 +106,7 @@ var abp = abp || {};
$dfd.resolve(data);
userOptions.success && userOptions.success(data);
}).fail(function (jqXHR) {
if(jqXHR.status === 0 || jqXHR.statusText === 'abort') {
if(jqXHR.statusText === 'abort') {
//ajax request is abort, ignore error handle.
return;
}

Loading…
Cancel
Save