<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/js_tests, branch stable/6.0.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-08-19T14:35:56Z</updated>
<entry>
<title>Fixed #35892 -- Supported Widget.use_fieldset in admin forms.</title>
<updated>2025-08-19T14:35:56Z</updated>
<author>
<name>antoliny0919</name>
<email>antoliny0919@gmail.com</email>
</author>
<published>2025-07-27T22:59:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4187da258fe212d494cb578a0bc2b52c4979ab95'/>
<id>urn:sha1:4187da258fe212d494cb578a0bc2b52c4979ab95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36537 -- Ensured unique HTML IDs for geometry widget option scripts in the admin.</title>
<updated>2025-08-05T14:35:04Z</updated>
<author>
<name>Matthias Kestenholz</name>
<email>mk@feinheit.ch</email>
</author>
<published>2025-06-15T14:38:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0a262c8407a2f4e4971118ca435c6931c40b70ae'/>
<id>urn:sha1:0a262c8407a2f4e4971118ca435c6931c40b70ae</id>
<content type='text'>
This work amends the code from f2f6046c0f92ff1faed057da0711ac478eef439c
where multiple geometry widgets rendered `&lt;script&gt;` elements in the
admin with the same HTML `id`, resulting in invalid HTML and fragile
JavaScript selectors. Refs #25706.

This change uses the widget's textarea ID to generate a unique `id` for
each JSON options `&lt;script&gt;`, ensuring valid and robust markup.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #25706 -- Refactored geometry widgets to remove inline JavaScript.</title>
<updated>2025-06-12T20:35:14Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2024-08-18T13:29:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f2f6046c0f92ff1faed057da0711ac478eef439c'/>
<id>urn:sha1:f2f6046c0f92ff1faed057da0711ac478eef439c</id>
<content type='text'>
Refactored GIS-related JavaScript initialization to eliminate inline
scripts from templates. Added support for specifying a base layer using
the new `base_layer_name` attribute on `BaseGeometryWidget`, allowing
custom map tile providers via user-defined JavaScript.

As a result, the `gis/openlayers-osm.html` template was removed.

Thanks Sarah Boyce for reviews.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36423 -- Prevented filter_horizontal buttons from intercepting form submission.</title>
<updated>2025-06-03T01:25:14Z</updated>
<author>
<name>Blayze</name>
<email>blayze@carstickers.com</email>
</author>
<published>2025-05-28T18:22:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=90429625a85f1f77dfea200c91bd2dabab57974f'/>
<id>urn:sha1:90429625a85f1f77dfea200c91bd2dabab57974f</id>
<content type='text'>
In the admin's filter_horizontal widget, optional action buttons like
"Choose all", "Remove all", etc. were changed from `&lt;a&gt;` to `&lt;button&gt;`
elements in #34619, but without specifying `type="button"`. As a result,
when pressing Enter while focused on a form input, these buttons could
be triggered and intercept form submission.

Explicitly set `type="button"` on these control buttons to prevent them
from acting as submit buttons.

Thanks Antoliny Lee for the quick triage and review.

Regression in 857b1048d53ebf5fc5581c110e85c212b81ca83a.
</content>
</entry>
<entry>
<title>Fixed #36284, Refs #31170 -- Ensured related lookup popups are closed properly.</title>
<updated>2025-04-01T16:52:22Z</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=a245604277eb9edeba234dacf199890766462709'/>
<id>urn:sha1:a245604277eb9edeba234dacf199890766462709</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;</content>
</entry>
<entry>
<title>Refs #34619 -- Corrected selector description in the admin.</title>
<updated>2025-03-26T20:59:32Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-03-26T20:59:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0d92428d77fafff373e05dd5a6cdb62bd1dfbda0'/>
<id>urn:sha1:0d92428d77fafff373e05dd5a6cdb62bd1dfbda0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #31170 -- Added change event trigger to dismissRelatedLookupPopup.</title>
<updated>2025-02-18T09:34:14Z</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=51398f8bd568a6324a8cafe20c068d0974913ad5'/>
<id>urn:sha1:51398f8bd568a6324a8cafe20c068d0974913ad5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #31170 -- Added JavaScript tests for RelatedObjectLookups.js.</title>
<updated>2025-02-18T09:34:14Z</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=91bebf1adb43561b54bac18e76224759dc70acb3'/>
<id>urn:sha1:91bebf1adb43561b54bac18e76224759dc70acb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #34619 -- Associated FilteredSelectMultiple elements to their label and help text.</title>
<updated>2024-11-20T12:23:18Z</updated>
<author>
<name>GappleBee</name>
<email>irrationalmathematicspro7@gmail.com</email>
</author>
<published>2024-10-24T18:44:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=857b1048d53ebf5fc5581c110e85c212b81ca83a'/>
<id>urn:sha1:857b1048d53ebf5fc5581c110e85c212b81ca83a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #35189 -- Removed no longer necessary JavaScript file collapse.js.</title>
<updated>2024-05-22T03:13:55Z</updated>
<author>
<name>Marijke Luttekes</name>
<email>mail@marijkeluttekes.dev</email>
</author>
<published>2024-05-20T18:32:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7857507c7fc43350701700d4215a37baea7655f0'/>
<id>urn:sha1:7857507c7fc43350701700d4215a37baea7655f0</id>
<content type='text'>
</content>
</entry>
</feed>
