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

hypeJunction opened this Issue Feb 11, 2016 · 1 comment


None yet
2 participants

hypeJunction commented Feb 11, 2016

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

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

fix(js): don't show ajax error message when aborting request
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

This comment has been minimized.

Show comment
Hide comment

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