#33491: Rows are selected only on Chrome when going back from the confirmation
page.
-------------------------------------+-------------------------------------
Reporter: Akihito Yokose | Owner: Marcelo
Type: | Galigniana
Cleanup/optimization | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson <carlton@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"0aa2f16e63887d6053f6fd0da19254fc74c750ae" 0aa2f16e]:
{{{
#!CommitTicketReference repository=""
revision="0aa2f16e63887d6053f6fd0da19254fc74c750ae"
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 <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33491#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182ab35d3b4-8ab120e0-edd9-458d-ace8-fdb2eb7a5564-000000%40eu-central-1.amazonses.com.