Skip to content

Commit cb585b0

Browse files
author
Jorge
committed
comments
1 parent f48d776 commit cb585b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jQuery.XDomainRequest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,11 @@ if (!jQuery.support.cors && window.XDomainRequest) {
6767
complete(status.code, status.message, responses, allResponseHeaders);
6868
}
6969
};
70+
71+
//set an empty handler for 'onprogress' so requests don't get aborted
7072
xdr.onprogress = function () {
7173
};
74+
7275
xdr.onerror = function(){
7376
complete(500, 'error', {
7477
text: xdr.responseText

0 commit comments

Comments
 (0)