django/js_tests
nessita a245604277
Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly.
In the admin, when selecting related objects via the helpers defined in
`RelatedObjectLookups.js`, the `dismissRelatedLookupPopup` function was
attempting to access `window.relatedWindows`, which does not exist in
real execution, causing related lookup popups to remain open.
    
This change ensures that this code correctly accesses the module-local
`relatedWindows` by explicitly assigning it to `window.relatedWindows`.
    
Regression in 91bebf1adb.
    
Thanks Matthias Kestenholz for the report, the fix ideas, and testing.

Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
2025-04-01 13:52:22 -03:00
..
admin Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly. 2025-04-01 13:52:22 -03:00
gis Upgraded OpenLayers to v.7.2.2. 2022-12-29 08:30:30 +01:00
tests.html Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js. 2025-02-18 10:34:14 +01:00