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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2022-03-22 11:40:07 +00:00 committed by Kyle Hall
parent 3f78c4d025
commit c89fc01dac
1 changed files with 0 additions and 5 deletions

View File

@ -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() {