Bug 34478: Correct op name for list edit confirmation
authorOwen Leonard <oleonard@myacpl.org>
Fri, 23 Feb 2024 18:05:16 +0000 (18:05 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 10:00:09 +0000 (11:00 +0100)
commit63a51acc8327dffa9029a442eb58fae975034a11
treee3f856fe80cbc94784964a8e908b2d993b5bad95
parent882305704e44e86588169d9fbcb458ed77fe3802
Bug 34478: Correct op name for list edit confirmation

The 'delete_confirm' op leads to a confirmation page, so it's GET.

The patch also consolidates JS for handling deletions, using the same
class for both the delete button in the toolbar and in the table of
lists.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt
virtualshelves/shelves.pl