1) click "post reply" on this topic
2) write something in the text box
3) scroll down to this post in "topic review" below and click this:
4) page reloads and reply text is lost
[Fixed] "Copy blueprint" button in topic review section reloads the page
Re: "Copy blueprint" button in topic review section reloads the page
In HTML, <button> has type="submit" by default. This means an unmodified button will refresh the page.
To work around this, give the button type="button".
The button in the reply is unmodified because the blueprint script failed. Figuring out why it failed is trickier.
To work around this, give the button type="button".
The button in the reply is unmodified because the blueprint script failed. Figuring out why it failed is trickier.
Re: "Copy blueprint" button in topic review section reloads the page
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Re: "Copy blueprint" button in topic review section reloads the page
BTW, 2 years passed since the proposed solution was posted here, but the bug still there and prevents Ctrl+Enter from working.
Fulgora is the best planet. Vulcanus needs rework. Feel free to prove me wrong.
Re: "Copy blueprint" button in topic review section reloads the page
Well noted, thank you. I have applied the fix.DaveMcW wrote: Sun Jan 29, 2023 10:04 pm In HTML, <button> has type="submit" by default. This means an unmodified button will refresh the page.
To work around this, give the button type="button".
ovo