Skip to main content

Bug Tracker

Side navigation

Ticket #4355: ajax_patch.diff


File ajax_patch.diff, 0.4 KB (added by the-architect, March 15, 2009 06:58PM UTC)

patch for ajax.js

diff --git a/jquery/src/ajax.js b/jquery/src/ajax.js
index 0f5f805..66eb1d0 100644
--- a/jquery/src/ajax.js
+++ b/jquery/src/ajax.js
@@ -27,6 +27,8 @@ jQuery.fn.extend({
 			} else if( typeof params === "object" ) {
 				params = jQuery.param( params );
 				type = "POST";
+			} else if( typeof params === "string" ) {
+				type = "POST";
 			}
 
 		var self = this;

Download in other formats:

Original Format