Skip to content
Permalink
Browse files
jquery ajax: Closes #1516. load() can get a string of data (not only …
…a hash) and it'll be a GET request.
  • Loading branch information
flesler committed May 27, 2008
1 parent e87d2c7 commit 7ec7723
Showing 1 changed file with 1 addition and 1 deletion.
@@ -26,7 +26,7 @@ jQuery.fn.extend({
params = null;

// Otherwise, build a param string
} else {
} else if( typeof params == 'object' ) {
params = jQuery.param( params );
type = "POST";
}

0 comments on commit 7ec7723

Please sign in to comment.