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
I use one iron-request component to send different requests to php for editing MariaDb database.
The problème I have is if I send a request, I cannot reuse the same xhr, cause is readyState is at 4 (which mean Done)
I have a suggestion for a correction for the send command :
send: function(options) { var xhr = this.xhr; if (xhr.readyState > 0 && xhr.readyState != 4 /* DONE */ ) { return null; }
(adding
&& xhr.readyState != 4 /* DONE */
works for me)
Using multiple time in a componnent the same xhr.
Can only use one time the xhr componnent
The text was updated successfully, but these errors were encountered:
I came here for this exact reason. It was driving me nuts and I didn't know what I was doing wrong.
It looks like iron-ajax is dynamically creating a new iron-request for every new send.
Sorry, something went wrong.
No branches or pull requests
Description
I use one iron-request component to send different requests to php for editing MariaDb database.
The problème I have is if I send a request, I cannot reuse the same xhr, cause is readyState is at 4 (which mean Done)
I have a suggestion for a correction for the send command :
(adding
works for me)
Expected outcome
Using multiple time in a componnent the same xhr.
Actual outcome
Can only use one time the xhr componnent
Live Demo
Steps to reproduce
Browsers Affected
The text was updated successfully, but these errors were encountered: