id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
6552	ajaxSetup for data not work of get method	velna_007	velna_007	"call:
$.ajaxSetup({data:{__ajax=1}})

then every call on $.post will add __ajax=1 parameter, but call on $.get does't

in version 1.4.2 line 4888:

	get: function( url, data, callback, type ) {
		// shift arguments if data argument was omited
		if ( jQuery.isFunction( data ) ) {
			type = type || callback;
			callback = data;
			data = null;
		}

		return jQuery.ajax({
			type: ""GET"",
			url: url,
			data: data,
			success: callback,
			dataType: type
		});
	},

it should be :

	get: function( url, data, callback, type ) {
		// shift arguments if data argument was omited
		if ( jQuery.isFunction( data ) ) {
			type = type || callback;
			callback = data;
			data = {};
		}

		return jQuery.ajax({
			type: ""GET"",
			url: url,
			data: data,
			success: callback,
			dataType: type
		});
	},
"	bug	closed	undecided	1.5	ajax	1.4.2		ajaxSetup			
