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:
parent
e87d2c7a58
commit
7ec772374d
|
@ -26,7 +26,7 @@ jQuery.fn.extend({
|
||||||
params = null;
|
params = null;
|
||||||
|
|
||||||
// Otherwise, build a param string
|
// Otherwise, build a param string
|
||||||
} else {
|
} else if( typeof params == 'object' ) {
|
||||||
params = jQuery.param( params );
|
params = jQuery.param( params );
|
||||||
type = "POST";
|
type = "POST";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue