Skip to content

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
@adamchainz adamchainz deleted the fix_with_forms branch November 15, 2024 14:41
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