Skip to content

Conversation

@billybraga
Copy link

in the example, when xhr !== lastXhr, the "response" function is not called, hence the "pending" variable is not decremented, which causes the loading image to stay there indefinetly...

@scottgonzalez
Copy link
Member

We shouldn't abort the previous request, it should complete and we should cache the value. The correct change should be just always calling the response and letting the autocomplete's built-in response handler ensure that it's displaying the correct results.

@billybraga
Copy link
Author

yup... I realized this just now :S

@billybraga billybraga closed this Jul 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants