django/js_tests/admin
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
..
actions.test.js Migrated to ESLint 9+. 2024-05-06 11:42:37 +02:00
core.test.js Fixed #23049 -- Added %a and %A support to Date.strftime. 2023-06-09 12:18:17 +02:00
DateTimeShortcuts.test.js Refs #31493 -- Changed IIFE to ES6 blocks. 2020-04-29 10:22:41 +02:00
inlines.test.js Fixed #33328 -- Transformed formset:added/removed to native JS events. 2022-02-23 10:33:07 +01:00
jsi18n-mocks.test.js Refs #31493 -- Changed IIFE to ES6 blocks. 2020-04-29 10:22:41 +02:00
navigation.test.js Migrated to ESLint 9+. 2024-05-06 11:42:37 +02:00
RelatedObjectLookups.test.js Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly. 2025-04-01 13:52:22 -03:00
SelectBox.test.js Fixed #31522 -- Made admin's SelectBox preserve scroll position. 2020-07-01 16:31:38 +02:00
SelectFilter2.test.js Refs #34619 -- Corrected selector description in the admin. 2025-03-26 21:59:32 +01:00
URLify.test.js Fixed #11157 -- Stopped removing stop words in admin's prepopulated_fields. 2020-05-27 12:32:56 +02:00