From d610190f4406e86a9bbe2e3d7051d3739fe6ee46 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 22 Mar 2022 11:40:07 +0000 Subject: [PATCH] Bug 25251: (follow-up) Remove alertNoItems We should not need this function any longer I left the else conditional just in case Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/js/catalog.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/catalog.js b/koha-tmpl/intranet-tmpl/prog/js/catalog.js index 7b40873f208..072680afcea 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/catalog.js +++ b/koha-tmpl/intranet-tmpl/prog/js/catalog.js @@ -71,15 +71,10 @@ function confirm_items_deletion() { return false; } } else { - alertNoItems(); return false; } } -function alertNoItems(){ - alert( __("This record has no items.") ); -} - /* END IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) */ $(document).ready(function() { -- 2.25.1