#6904 closed bug (fixed)
Autocomplete: Race condition handling means
Reported by: | jamey | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.10 |
Component: | ui.autocomplete | Version: | 1.8.9 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I tried the remote data source example for Autocomplete but it would never display the list.
(16:02:53) Scott González: the race condition handling for xhr (16:03:34) Scott González: yeah, looks like the logic is wrong (16:03:44) Scott González: try moving self.xhr = null inside the if (16:04:08) Scott González: if the callback is from an old request, we want to ignore it (16:04:25) Scott González: but that means we should only clear out self.xhr when we handle the most recent request
So, I tried moving "self.xhr = null" inside the if (line 263) but outputting xhr and self.xhr before the if statement revealed that xhr is always null at that point regardless.
Change History (3)
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means.
Changeset: a1ab9678e9bba6b20989104040bc31b782094335
comment:3 Changed 12 years ago by
Milestone: | 1.9 → 1.8.10 |
---|
Autocomplete: Fixed handling of race conditions when using jQuery 1.3.2. Fixes #6904 - Autocomplete: Race condition handling means. (cherry picked from commit a1ab9678e9bba6b20989104040bc31b782094335)