jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and it'll be a GET request.

This commit is contained in:
Ariel Flesler 2008-05-27 22:44:06 +00:00
parent e87d2c7a58
commit 7ec772374d

View file

@ -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";
}