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

Aborting XHR request client side triggers an error #9372

Closed
hypeJunction opened this issue Feb 11, 2016 · 1 comment
Closed

Aborting XHR request client side triggers an error #9372

hypeJunction opened this issue Feb 11, 2016 · 1 comment

Comments

@hypeJunction
Copy link
Contributor

var xhr = elgg.get('activity');
xhr.abort();

An error is registered:
Unexpected error while performing an AJAX call. Maybe the connection to the server is lost.

mrclay added a commit to mrclay/Elgg-leaf that referenced this issue Feb 11, 2016
If the error is due to calling `xhr.abort` (not an HTTP error, timeout,
or parse error), we don't show a message to the user.

Fixes Elgg#9372
@mrclay
Copy link
Member

mrclay commented Feb 11, 2016

PR #9381

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

No branches or pull requests

2 participants