Dynamically load autocompletes

This cuts something like 100ms off of page load times!

Closes #1011
This commit is contained in:
Eric Allen 2010-04-02 13:23:24 -04:00
parent 8de74939ea
commit 9ab69adb38
10 changed files with 30 additions and 24 deletions

View file

@ -364,7 +364,7 @@ $.Autocompleter = function(input, options) {
// limit abortion to this input
port: "autocomplete" + input.name,
dataType: options.dataType,
type: 'POST',
type: 'GET',
url: options.url,
data: $.extend({
q: lastWord(term),