Fix batch actions in the admin UI.
Review Request #13539 — Created Feb. 13, 2024 and submitted — Latest diff uploaded
Quite some time ago, we rewrote the change_list page for the admin UI to
use our dashboard/drawer model. This correctly stuck the actions into
the drawer, but those were never hooked up to anything.This change adds a hidden
<select>
element to the form containing the
action IDs, and then wires up some simple JS to select the relevant
option and submit the form when one of the action links is clicked.
Selected some items in the admin DB pages and clicked "Delete selected"
from the drawer. Was successfully redirected to the confirmation page.