8000 Core: fix race condition in remote validation rules by bidord · Pull Request #2435 · jquery-validation/jquery-validation · GitHub
[go: up one dir, main page]

Skip to content

Core: fix race condition in remote validation rules #2435

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

Merged
merged 1 commit into from
Jul 15, 2022
Merged

Core: fix race condition in remote validation rules #2435

merged 1 commit into from
Jul 15, 2022

Conversation

bidord
Copy link
Contributor
@bidord bidord commented Jul 15, 2022

Fixes #2434

Description

  • Add a new jQuery global method $.ajaxAbort( port ) to the jQuery Ajax extension that is provided by this library. This method allows to abort an ajax request without sending a new one.
  • Call this method at the beginning of check() method.

Copy link
Member
@bytestream bytestream left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the effort you put into writing the issue, reproducer and time on this PR.

@bytestream bytestream merged commit 980087a into jquery-validation:master Jul 15, 2022
bytestream pushed a commit that referenced this pull request Jul 17, 2022
Ref #2434
Ref #2435

Co-authored-by: Sylvain Monné <sylvain@monne.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition in remote validation rules
2 participants
0