bug: Detail page map div renders without Leaflet JS #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The location detail page (
tmpl/location/default.php) renders a<div id="map">element but does not include the Leaflet JS/CSS assets needed to initialize the map. The map div is empty on the detail view.Expected Behavior
Location detail page should show an interactive Leaflet map centered on the location's coordinates.
Current Behavior
An empty map div is rendered. Leaflet library is only loaded via the map module, not on the detail page.
Fix
Either:
Priority
P2 — visible UI gap on a core page.
Branch created:
feature/57-bug-detail-page-map-div-renders-without-Fixed in
site/tmpl/location/default.php:$wa->addInlineScript()for CSP nonce compatibility