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 7ec772374d132149d72418abce4569dedbd4168b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -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.