|
@@ -82,7 +82,7 @@ define([
|
|
}, function () {
|
|
}, function () {
|
|
// Attempt to detect if a request was aborted
|
|
// Attempt to detect if a request was aborted
|
|
// Only works if the transport exposes a status property
|
|
// Only works if the transport exposes a status property
|
|
- if ('status' in $request &&
|
|
|
|
|
|
+ if ($request && 'status' in $request &&
|
|
($request.status === 0 || $request.status === '0')) {
|
|
($request.status === 0 || $request.status === '0')) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|