Koha/koha-tmpl/intranet-tmpl/prog/en/modules
David Cook 0c4fe03c23 Bug 34650: Convert list toolbar delete into form POST
This patch adds a HTML form with a CSRF token to POST the list delete,
which is triggered by a click handler on the A element. The A element
is still needed for existing style reasons.

Test plan:
0. Apply patch
1. koha-plack --reload kohadev
2. In the staff interface, add a list
3. Go into that list (e.g. virtualshelves/shelves.pl?op=view&shelfnumber=X)
4. From the toolbar click the "Edit" dropdown
5. From the dropdown try either "Edit list" or "Delete list"
6. Note no CSRF error and operation completes as expected

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5d3b7cf089)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-09-07 14:37:02 -10:00
..
acqui Bug 34095: Adjust logic so that shipment cost is empty if the receiving shipment cost is blank. 2023-08-30 10:15:46 -10:00
admin Bug 34616: Move default server info outside the <fieldset> 2023-09-07 14:29:56 -10:00
authorities Bug 34571: Remove use of "onclick" for ExpandField in cataloguing editors 2023-08-30 10:20:50 -10:00
basket Bug 33808: Add aria-labels in basket.tt 2023-07-18 12:47:58 +01:00
batch
catalogue Bug 34434: Terminology: Biblio should be bibliographic 2023-08-29 11:36:00 -10:00
cataloguing Bug 34571: Remove use of "onclick" for ExpandField in cataloguing editors 2023-08-30 10:20:50 -10:00
circ Bug 34115: Use a global tab select function for activating Bootstrap tabs based on location hash 2023-08-30 10:16:42 -10:00
clubs Bug 33528: Use template wrapper for tabs: Patron details page 2023-07-17 12:04:17 +01:00
course_reserves
erm
errors
ill Bug 34115: Use a global tab select function for activating Bootstrap tabs based on location hash 2023-08-30 10:16:42 -10:00
installer Bug 31667: Merge 'tip' and 'hint' classes 2023-08-17 10:20:12 -10:00
labels Bug 34116: Add page-sectioning to item search in label creator 2023-07-18 10:31:20 +01:00
mana
members Bug 34356: Make sort order always default to correct column 2023-08-29 21:07:24 -10:00
offline_circ Bug 33858: Format dates in offline circ 2023-07-18 10:06:12 +01:00
onboarding
patron_lists Bug 34083: (follow-up) Prevent showing 'null' 2023-07-17 15:34:17 +01:00
patroncards Bug 28726: Add sort1 and sort2 to patron card creator - patron search. 2023-07-17 16:02:12 +01:00
plugins Bug 34131: (QA follow-up) Update page title to reflect breadcrumbs and side-menu behaviour 2023-07-18 10:05:45 +01:00
pos
recalls Bug 34013: Recalls awaiting pickup doesn't show count on each tab 2023-07-17 14:51:00 +01:00
reports Bug 34066: Datatable options don't fully translate on list of saved reports 2023-08-30 10:24:12 -10:00
reserve
reviews
rotating_collections
serials Bug 34436: Some breadcrumbs lack <span> for translatability 2023-08-29 11:35:04 -10:00
services
suggestion Bug 34601: Fix wrong quote 2023-08-30 09:52:56 -10:00
tags
test
tools Bug 34434: Terminology: Biblio should be bibliographic 2023-08-29 11:36:00 -10:00
virtualshelves Bug 34650: Convert list toolbar delete into form POST 2023-09-07 14:37:02 -10:00
about.tt Bug 34115: Use a global tab select function for activating Bootstrap tabs based on location hash 2023-08-30 10:16:42 -10:00
auth.tt Bug 34028: Show the secret when registering from the auth screen 2023-08-17 10:53:10 -10:00
intranet-main.tt Bug 34288: Allow access to the cataloguing module with tools permission 2023-07-19 08:32:47 +01:00