jquery/jquery-ui — pull request #508 by scottgonzalez (2011-10-31 15:21:04+00:00)
Title: Autocomplete: Make the change event synchronous

This makes the change event synchronous, fixing http://bugs.jqueryui.com/ticket/7550 (form submit occurs before autocompletechange event).

There used to be a few timeouts to deal with timing issues. These timeouts caused their own problems, which we had to code around. As a result, we had tests around this functionality. I've deleted these tests as they're no longer relevant. The one that I was most concerned with was the fix for slow clicks (http://bugs.jqueryui.com/ticket/5405). This seems to work fine now that the close-on-blur timeout is gone.

I'd appreciate a review of this in case anyone can think of something I may have missed by making this change.