X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax.js;h=eb81e4c484732154bac949a6225c4abbe5303dbb;hb=7ec772374d132149d72418abce4569dedbd4168b;hp=3e43ffbdf317303d5339f73195b01b10c50538a2;hpb=e87d2c7a5812299ae8390987aec21cc954a8e45a;p=jquery.git diff --git a/src/ajax.js b/src/ajax.js index 3e43ffb..eb81e4c 100644 --- 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"; }