Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better detection of aborted ajax queries #4462

Closed
wants to merge 1 commit into from

Commits on Jul 7, 2016

  1. Better detection of aborted ajax queries

    On Chrome 50, `$request.status` is a number, not a string thus the aborted query detection failed. For the end-user this resulted in seeing the 'The results could not be loaded.' message when he typed too fast for too long, instead of the correct 'Searching…' message.
    
    This commit check `$request.status` both as a number and as a string, keeping backward compatibility while fixing the case for Chrome.
    PowerKiKi committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    5d25bc2 View commit details
    Browse the repository at this point in the history