From f51cb35918e048ff3d2c643e68147db1dc2c566c Mon Sep 17 00:00:00 2001 From: jcruz2us Date: Fri, 11 Oct 2013 19:00:36 -0700 Subject: [PATCH] register transport for */default dataType --- jQuery.XDomainRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jQuery.XDomainRequest.js b/jQuery.XDomainRequest.js index a4bc35b..7c57c67 100644 --- a/jQuery.XDomainRequest.js +++ b/jQuery.XDomainRequest.js @@ -10,7 +10,7 @@ if (!jQuery.support.cors && jQuery.ajaxTransport && window.XDomainRequest) { var xmlRegEx = /\/xml/i; // ajaxTransport exists in jQuery 1.5+ - jQuery.ajaxTransport('text html xml json', function(options, userOptions, jqXHR){ + jQuery.ajaxTransport('* text html xml json', function(options, userOptions, jqXHR){ // XDomainRequests must be: asynchronous, GET or POST methods, HTTP or HTTPS protocol, and same scheme as calling page if (options.crossDomain && options.async && getOrPostRegEx.test(options.type) && httpRegEx.test(options.url) && sameSchemeRegEx.test(options.url)) { var xdr = null;