Skip to content
Permalink
Browse files
Fix for #265: Initialize defaults for global and timeout properly whe…
…n $.ajax is called internally (argument list instead of hash)
  • Loading branch information
jzaefferer committed Oct 13, 2006
1 parent cb53fc0 commit bfa8306633da9c2500e4f3e190c81a9827a8f95a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ajax/ajax.js
@@ -669,6 +669,8 @@ jQuery.extend({
ajax: function( type, url, data, ret, ifModified ) {
// If only a single argument was passed in,
// assume that it is a object of key/value pairs
var global = true;
var timeout = jQuery.timeout;
if ( !url ) {
ret = type.complete;
var success = type.success;

0 comments on commit bfa8306

Please sign in to comment.