Skip to content
New issue

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

Pass with_forms to leaflet_draw_i18n template #387

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

adamchainz
Copy link
Contributor

@adamchainz adamchainz commented Oct 1, 2024

Fixes #386. Pass the with_forms variable from the outer context, set by the leaflet_js tag, through leaflet_draw_i18n to its template.

Tested loading the template referenced in issue, now I can see all the little JSON <script> tags and the console error is gone.

@Gagaro Gagaro merged commit 0c13b9d into makinacorpus:master Oct 14, 2024
13 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.

Uncaught TypeError: document.getElementById(...) is null in leaflet.draw.i18n.js:3
2 participants