Skip to main content

Bug Tracker

Side navigation

Ticket #4738: queryParamName.diff
File queryParamName.diff, 0.4 KB (added by dfd, June 08, 2009 03:48PM UTC)

Simple diff file of original (v1.0.2 I believe) jquery.autocomplete.js and my updated version

334,337d333
< 			var queryParams = {};
< 			queryParams[options.queryParamName] = lastWord(term);
< 			queryParams['limit'] = options.max;
< 
344c340
< 
---
> 			
352c348,351
< 				data: $.extend(queryParams, extraParams),
---
> 				data: $.extend({
> 					q: lastWord(term),
> 					limit: options.max
> 				}, extraParams),
401d399
<         queryParamName: 'q',

Download in other formats:

Original Format