Form parameters don't seem to be sending when using Microsoft Edge. The form submits using pjax still, but the parameters array sent is empty.
Seems to be an issue with the function parseFormElements, it never gets past this line,
if (!!element.name && element.attributes !== undefined && tagName !== "button")
to actually fill in the parameters.
Form parameters don't seem to be sending when using Microsoft Edge. The form submits using pjax still, but the parameters array sent is empty.
Seems to be an issue with the function parseFormElements, it never gets past this line,
if (!!element.name && element.attributes !== undefined && tagName !== "button")
to actually fill in the parameters.
Was able to correct this issue manually by updating the parseFormElements function.
I updated
if (Number.isNaN(Number(elementKey))) {
continue;
}
for
if (!el.elements.hasOwnProperty(elementKey)) {
continue;
}
Was able to correct this issue manually by updating the **parseFormElements** function.
I updated
```
if (Number.isNaN(Number(elementKey))) {
continue;
}
```
for
```
if (!el.elements.hasOwnProperty(elementKey)) {
continue;
}
```
It will probably still be a while until a new version is published to npm. If you can't wait, you can clone master and build it yourself in the meantime.
It will probably still be a while until a new version is published to npm. If you can't wait, you can clone master and build it yourself in the meantime.
Ah thanks for the heads up. I already have a fixed copy locally just switching to the hasOwnProperty check in the for in. So will just keep that for now until it's the update is pushed live.
Ah thanks for the heads up. I already have a fixed copy locally just switching to the hasOwnProperty check in the for in. So will just keep that for now until it's the update is pushed live.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Form parameters don't seem to be sending when using Microsoft Edge. The form submits using pjax still, but the parameters array sent is empty.
Seems to be an issue with the function parseFormElements, it never gets past this line,
if (!!element.name && element.attributes !== undefined && tagName !== "button")
to actually fill in the parameters.
Was able to correct this issue manually by updating the parseFormElements function.
I updated
for
Thanks for the bug report, @chaiim. I have a fix in progress.
Thanks for the fix. That was quick!
It will probably still be a while until a new version is published to npm. If you can't wait, you can clone master and build it yourself in the meantime.
Ah thanks for the heads up. I already have a fixed copy locally just switching to the hasOwnProperty check in the for in. So will just keep that for now until it's the update is pushed live.