Skip to main content

Bug Tracker

Side navigation

Ticket #3775: get_arguments.patch
File get_arguments.patch, 0.4 KB (added by Wim Leers, January 04, 2009 02:31AM UTC)
Index: src/ajax.js
===================================================================
--- src/ajax.js	(revision 6026)
+++ src/ajax.js	(working copy)
@@ -100,6 +100,7 @@
 	get: function( url, data, callback, type ) {
 		// shift arguments if data argument was ommited
 		if ( jQuery.isFunction( data ) ) {
+			type = callback;
 			callback = data;
 			data = null;
 		}

Download in other formats:

Original Format