From a28a3b2366b03f46c7bdf3123b51c45d019059cc Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 23 Sep 2025 11:24:14 +0100 Subject: [PATCH] Bug 40859: Restore deletion when using the 'linktools' button Test plan: 1) Go to: http://localhost:8081/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=1&itemnumber=1 2) Click on the row for the first item to get the linktool buttons 3) Click "Delete item" 4) Accept the "Are you sure you want to delete this item?" alert 5) Accept the modal 6) The page refreshes and the item is deleted --- koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js index 507bfa9b4ef..266d2af60e3 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js @@ -35,7 +35,7 @@ $(document).ready(function () { ); $(edit_link).text(LABEL_EDIT_ITEM); var delete_link = $( - '' ); -- 2.50.1