We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jsonHandler: function(xhr) { var r = xhr.responseText; try { return JSON.parse(r); } catch (x) { return r; } },
I've I have handleAs="json" and the response isn't valid json, then I have a bug. It'd be better if it just broke and logged the error to the console.
As it is, it took me a while to figure out why event.detail.response was a string.
The text was updated successfully, but these errors were encountered:
Closing, as element has been deprecated in favor of core-ajax
Sorry, something went wrong.
frankiefu
No branches or pull requests
I've I have handleAs="json" and the response isn't valid json, then I have a bug. It'd be better if it just broke and logged the error to the console.
As it is, it took me a while to figure out why event.detail.response was a string.
The text was updated successfully, but these errors were encountered: