Alternate fix for #11426; check responseText. Close gh-843.

This commit is contained in:
Oleg Gaidarenko
2012-10-20 21:24:07 -04:00
committed by Dave Methvin
parent 8076a33bd8
commit cafb542da9

View File

@@ -148,9 +148,8 @@ if ( jQuery.support.ajax ) {
// When requesting binary data, IE6-9 will throw an exception
// on any attempt to access responseText (#11426)
try {
if ( typeof xhr.responseText === "string" ) {
responses.text = xhr.responseText;
} catch( err ) {
}
// Firefox throws an exception when accessing