• 
      

    Fix batch actions in the admin UI.

    Review Request #13539 — Created Feb. 13, 2024 and submitted

    Information

    Review Board
    release-5.0.x

    Reviewers

    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.

    Summary ID
    Fix batch actions in the admin UI.
    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. Testing Done: Selected some items in the admin DB pages and clicked "Delete selected" from the drawer. Was successfully redirected to the confirmation page.
    c30f6bfe54f3b0db18cf0a300a6c468f2758bc69
    maubin
    1. Ship It!
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.x (19ca004)