From 7dd9c228996f0845c7c6190efd3b68fc65d251cc Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 15 Mar 2024 10:50:12 +0000 Subject: [PATCH] Bug 36327: Clean-up old unused code that results in error Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js index d15fbfa5930..47209ec7fe5 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js @@ -25,9 +25,6 @@ $(document).ready(function(){ $(edit_link).text( LABEL_EDIT_ITEM ); var delete_link = $(''); $(delete_link).text( LABEL_DELETE_ITEM ); - $(delete_link).on('click', function() { - return confirm_deletion(); - }); var tools_node = $(''); $(tools_node).append(edit_link); $(tools_node).append(delete_link); -- 2.34.1