Search and Top Navigation
#8616 closed bug (fixed)
Opened October 02, 2012 10:34AM UTC
Closed October 02, 2012 02:22PM UTC
Remote autocomplete example can leave pending request tracking out of sync.
Reported by: | coling | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
Somewhat related to #6761 but a separate issue.
When copying the example for a remote with cache autocomplete, I realised that the response() function was only called with the most recent requests results. As it is the response() functions responsibility to decrement pending, this example can lead to pending never going back to 0 and the ui-autocomplete-loading class to be left on the input leading to UI problems.
There should be some mechanism to decrement the pending count and still permit this usage patter.
Attachments (0)
Change History (1)
Changed October 02, 2012 02:22PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Autocomplete cache demo: Let the widget handle request synchronization. Fixes #8616 - Remote autocomplete example can leave pending request tracking out of sync.
Changeset: 5405a821b9d13daa11a2e66866fe8b16e7b68177