@@ -, +, @@ have been passed in --- .../prog/en/modules/tools/batch_delete_records.tt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -60,6 +60,15 @@ $(document).ready(function() { "aaSorting": [], "bPaginate": false })); + + var $selectForm = $('#selectrecords'); + var $checkbox = $('#record_id'); + $selectForm.on('submit', function(e) { + if(!$checkbox.is(':checked')){ + alert("No records have been selected."); + e.preventDefault(); + } + }); }); //]]> @@ -150,7 +159,7 @@ $(document).ready(function() { | Select without items | Select without holds -
+ --