1
0
mirror of synced 2024-11-24 22:06:07 +03:00

Fix AJAX data source error

Fixes #4355

Verified in Firefox & Chromium
This commit is contained in:
MichaelMackus 2016-05-11 15:58:56 -07:00 committed by alexweissman
parent 50bf3cdd59
commit c56c20cff0

View File

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