django1/django
Marcelo Galigniana 0aa2f16e63 Fixed #33491 -- Fixed change-list selected row-highlight on cancelled delete.
Selected rows where not highlighted when returning to the change-list
after clicking "No, take me back" on the deletion confirmation page.

This commit uses the CSS :has() pseudo-class to apply the highlight
without requiring the .selected class, which is added by JavaScript
on the click event.

Once all supported browsers have :has() available, the .selected
selector and the JavaScript to add the class can be removed.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-08-17 11:49:34 +02:00
..
apps Rewrote some references to "master". 2022-03-08 14:50:06 +01:00
conf Updated translations from Transifex. 2022-08-03 08:04:34 +02:00
contrib Fixed #33491 -- Fixed change-list selected row-highlight on cancelled delete. 2022-08-17 11:49:34 +02:00
core Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations." 2022-07-26 11:41:19 +02:00
db Fixed #26780 -- Added prefetch_related() support for sliced queries. 2022-08-15 10:25:20 +02:00
dispatch Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
forms Fixed #31721 -- Allowed ModelForm meta to specify form fields. 2022-08-08 09:46:05 +02:00
http Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header. 2022-08-03 08:46:31 +02:00
middleware Fixed #33700 -- Skipped extra resolution for successful requests not ending with /. 2022-06-02 15:15:04 +02:00
template Fixed #33864 -- Deprecated length_is template filter. 2022-07-23 12:36:21 +02:00
templatetags Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe. 2022-07-14 11:09:19 +02:00
test Fixed #33891 -- Fixed test command crash when running in parallel using spawn. 2022-08-04 09:16:38 +02:00
urls Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs. 2022-05-17 10:50:09 +02:00
utils Refs #30213 -- Removed post-startup check for Watchman availability. 2022-08-11 11:02:03 +02:00
views Fixed #33878 -- Switched to system fonts in CSS. 2022-08-17 10:19:00 +02:00
__init__.py Bumped version; main is now 4.2 pre-alpha. 2022-05-17 14:22:06 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00