Skip to content

Conversation

laundmo
Copy link
Contributor

@laundmo laundmo commented Sep 16, 2025

document.write has a whole lot of warnings on MDN: https://developer.mozilla.org/en-US/docs/Web/API/Document/write

it was also the cause of a bug in my application, where after the recent updates Grid.represent_by_type started working, and I'm inserting forms with ajax (including their scripts such that the scripts execute) which caused document.write to overwrite my entire page

@mdipierro mdipierro merged commit 32c3219 into web2py:master Sep 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants