git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e87d2c7
)
jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and...
author
Ariel Flesler
<aflesler@gmail.com>
Tue, 27 May 2008 22:44:06 +0000
(22:44 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Tue, 27 May 2008 22:44:06 +0000
(22:44 +0000)
src/ajax.js
patch
|
blob
|
history
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";
}