]> git.koha-community.org Git - koha.git/commit
Bug 34478: Item removal deletion should be POSTed form
authorOwen Leonard <oleonard@myacpl.org>
Tue, 20 Feb 2024 19:19:24 +0000 (19:19 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 09:59:39 +0000 (10:59 +0100)
commit38b94cf964a2826b1afab4be3ef78c11dfdafa92
tree4fc3198ad35285ab626154cc0218f4de22d3db97
parent76aac9b301c0f4afc1ee145c459f8ed779d35282
Bug 34478: Item removal deletion should be POSTed form

This patch updates the "Remove" button from items which are in a
rotating collection (in the "Manage items" stage). A GET link is
converted to a posted form.

Unrelated: The JavaScript has also been modified so that it asks for
confirmation.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
koha-tmpl/intranet-tmpl/prog/js/rotating-collections.js