From ff08982508cb089d0b728cb797c76cc2fe76a702 Mon Sep 17 00:00:00 2001 From: John Resig Date: Mon, 14 Jan 2008 19:37:31 +0000 Subject: [PATCH 1/1] And the rest of the _default change. --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index bf2744b..0f799fc 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -287,7 +287,7 @@ jQuery.extend({ // Set the Accepts header for the server, depending on the dataType xml.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ? s.accepts[ s.dataType ] + ", */*" : - s.accepts.default ); + s.accepts._default ); } catch(e){} // Allow custom headers/mimetypes -- 1.7.10.4