Bug 34478: Comment deletion should be POSTed form
authorOwen Leonard <oleonard@myacpl.org>
Tue, 20 Feb 2024 19:26:56 +0000 (19:26 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 09:59:40 +0000 (10:59 +0100)
commit87d12dbe3c57a5f1fb105cdb40eda4c4cf2a3643
tree4ee5a12ce4da20c60b558e8cb7b37518b1af25fe
parent38b94cf964a2826b1afab4be3ef78c11dfdafa92
Bug 34478: Comment deletion should be POSTed form

This patch updates the "Delete" button on the comments moderation page
to convert the GET link 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/reviews/reviewswaiting.tt