diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index 7962a9fe12..4d0eb181f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -68,6 +68,14 @@ $(document).ready(function() { return false; } }); + + $("#selectauths").on("submit",function(){ + var checked = $("#selectauths").find("input[type='checkbox'][name='record_id']:checked").size(); + if (checked == 0) { + alert(_("No authorities have been selected.")); + return false; + } + }); }); //]]> @@ -190,7 +198,7 @@ $(document).ready(function() { | Clear all | Clear used authorities -
+