-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
API: beforeSend does not cancel request #3660
Comments
I've encouter the same issue. Seems $(this).state('flash text', 'Requires Login!'); will block sending, but i think it's not the right way. I think state management is still under developing. |
Can you produce the minimal test case required to reproduce this. |
I'm fairly certain this is a bug that was introduced in a recent patch.. No good. |
This was probably introduced when API |
@jlukic Sorry about not updating the issue with more information. As I can see the problem is now fixed! Thanks a lot. |
In the "Cancelling Requests" section of the API usage docs I can see that if
false
is returned from the beforeSend callback the request should be cancelled. This is not the case. The example itself does issue the request, as it is easily viewed in the console.Is there any other way of cancelling the request?
The text was updated successfully, but these errors were encountered: