mirror of
https://github.com/django/django.git
synced 2025-11-24 04:47:12 +00:00
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
|
||
|---|---|---|
| .. | ||
| actions.test.js | ||
| core.test.js | ||
| DateTimeShortcuts.test.js | ||
| inlines.test.js | ||
| jsi18n-mocks.test.js | ||
| navigation.test.js | ||
| RelatedObjectLookups.test.js | ||
| SelectBox.test.js | ||
| SelectFilter2.test.js | ||
| URLify.test.js | ||