And the rest of the _default change.
[jquery.git] / src / ajax.js
index bf2744b..0f799fc 100644 (file)
@@ -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