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:
parent
3f78c4d025
commit
c89fc01dac
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue