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

'Captute length is zero and changed value' causing website to lock up #37

Closed
GeorgeWells opened this issue Aug 18, 2017 · 2 comments
Closed

Comments

@GeorgeWells
Copy link

We use this plugin on a 'quick search' function on a website with a minimum length set. The function being called is doing an AJAX query on a PHP file to get data out from the database. When a user enters something in to this quick search and realize they typed something wrong after it has searched, they clear out what they have entered. Before they start typing again, after 750ms, the function is being called due to the capture length being 0 and the value is now different. This is now calling AJAX on a PHP file which is ultimately searching the whole database due to using 'LIKE' queries.

I'm not sure on what the purpose of line 46 in the JS file is for, but we had to comment it out for our use.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label, add a comment, or this will be closed in 5 days.

@github-actions
Copy link

This issue was closed due to no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant