git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and...
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
3e43ffb
..
eb81e4c
100644
(file)
--- a/
src/ajax.js
+++ b/
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";
}