Commit 7ec77237 authored by Ariel Flesler's avatar Ariel Flesler

jquery ajax: Closes #1516. load() can get a string of data (not only a hash)...

jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and it'll be a GET request.
parent e87d2c7a
...@@ -26,7 +26,7 @@ jQuery.fn.extend({ ...@@ -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";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment