<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/js_tests/admin/RelatedObjectLookups.test.js, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-04-01T16:55:05Z</updated>
<entry>
<title>[5.2.x] Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly.</title>
<updated>2025-04-01T16:55:05Z</updated>
<author>
<name>nessita</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-04-01T16:52:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=614be94957d6b17a8b3d051204e62559e1f089e6'/>
<id>urn:sha1:614be94957d6b17a8b3d051204e62559e1f089e6</id>
<content type='text'>
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 91bebf1adb43561b54bac18e76224759dc70acb3.

Thanks Matthias Kestenholz for the report, the fix ideas, and testing.

Co-authored-by: Matthias Kestenholz &lt;mk@feinheit.ch&gt;

Backport of a245604277eb9edeba234dacf199890766462709 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #31170 -- Added change event trigger to dismissRelatedLookupPopup.</title>
<updated>2025-02-18T09:36:33Z</updated>
<author>
<name>Кайрат Макым</name>
<email>kairatmakym@kajrats-macbook-pro.local</email>
</author>
<published>2025-02-18T08:48:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b0d497ada04bb6dccdfc2c4072744de391b7d3b7'/>
<id>urn:sha1:b0d497ada04bb6dccdfc2c4072744de391b7d3b7</id>
<content type='text'>
Backport of 51398f8bd568a6324a8cafe20c068d0974913ad5 from main.
</content>
</entry>
<entry>
<title>[5.2.x] Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js.</title>
<updated>2025-02-18T09:35:56Z</updated>
<author>
<name>Кайрат Макым</name>
<email>kairatmakym@kajrats-macbook-pro.local</email>
</author>
<published>2025-02-18T08:44:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7cf6a34cb2f3ff973e1321818186e45da900ff3a'/>
<id>urn:sha1:7cf6a34cb2f3ff973e1321818186e45da900ff3a</id>
<content type='text'>
Backport of 91bebf1adb43561b54bac18e76224759dc70acb3 from main.
</content>
</entry>
<entry>
<title>Refs #31032 -- Removed unsupported browsers workarounds and comments in admin's JavaScript.</title>
<updated>2020-03-23T05:19:10Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-03-23T05:19:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f982f0bdb8317e75af416595c616943d5025da1e'/>
<id>urn:sha1:f982f0bdb8317e75af416595c616943d5025da1e</id>
<content type='text'>
Since 8b30360322d4de6687e17ab267a856db4e3c78a6, the admin documentation
is explicit that only modern evergreen browsers are supported. This
allows removing several long standing workarounds for IE and Opera older
versions.

Since 2013, Opera is based on the Chromium blink engine.</content>
</entry>
<entry>
<title>Bumped minimum ESLint version to 6.8.0.</title>
<updated>2020-03-16T05:20:22Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-03-16T05:20:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=38e2fdf1b077653f2461d1c52459b85a8a134a91'/>
<id>urn:sha1:38e2fdf1b077653f2461d1c52459b85a8a134a91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated to QUnit 2.0.1.</title>
<updated>2016-12-19T17:43:47Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2016-12-19T17:43:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=620dcdde6e0e423a9343c63c7bc36d9e4301a2d8'/>
<id>urn:sha1:620dcdde6e0e423a9343c63c7bc36d9e4301a2d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #25165 -- Removed unnecessary HTML unescaping in admin add/edit popups.</title>
<updated>2016-01-08T23:24:04Z</updated>
<author>
<name>Thomas Grainger</name>
<email>tom.grainger@procensus.com</email>
</author>
<published>2016-01-08T19:58:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=cbaa3ee3ee45d453ab6aa36d57847515dd130b9f'/>
<id>urn:sha1:cbaa3ee3ee45d453ab6aa36d57847515dd130b9f</id>
<content type='text'>
Because we now load data into the page via JSON, we don't need to
unescape it anymore.
</content>
</entry>
<entry>
<title>Added linting for JavaScript tests.</title>
<updated>2015-09-02T17:52:38Z</updated>
<author>
<name>Nik Nyby</name>
<email>nikolas@gnu.org</email>
</author>
<published>2015-08-26T04:24:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=722bf23518afad6fd90694c17484da33551e4cef'/>
<id>urn:sha1:722bf23518afad6fd90694c17484da33551e4cef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DEP 0003 -- Added JavaScript unit tests.</title>
<updated>2015-07-01T01:04:16Z</updated>
<author>
<name>Trey Hunner</name>
<email>trey@treyhunner.com</email>
</author>
<published>2015-04-14T14:55:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2d0dead224b6448072b72b37d2fbcc8dc3afa007'/>
<id>urn:sha1:2d0dead224b6448072b72b37d2fbcc8dc3afa007</id>
<content type='text'>
Setup QUnit, added tests, and measured test coverage.

Thanks to Nick Sanford for the initial tests.
</content>
</entry>
</feed>
