|
Lines 60-65
$(document).ready(function() {
Link Here
|
| 60 |
"aaSorting": [], |
60 |
"aaSorting": [], |
| 61 |
"bPaginate": false |
61 |
"bPaginate": false |
| 62 |
})); |
62 |
})); |
|
|
63 |
|
| 64 |
var $selectForm = $('#selectrecords'); |
| 65 |
var $checkbox = $('#record_id'); |
| 66 |
$selectForm.on('submit', function(e) { |
| 67 |
if(!$checkbox.is(':checked')){ |
| 68 |
alert("No records have been selected."); |
| 69 |
e.preventDefault(); |
| 70 |
} |
| 71 |
}); |
| 63 |
}); |
72 |
}); |
| 64 |
//]]> |
73 |
//]]> |
| 65 |
</script> |
74 |
</script> |
|
Lines 150-156
$(document).ready(function() {
Link Here
|
| 150 |
| <a id="selectwithoutitems" href="#">Select without items</a> |
159 |
| <a id="selectwithoutitems" href="#">Select without items</a> |
| 151 |
| <a id="selectnotreserved" href="#">Select without holds</a> |
160 |
| <a id="selectnotreserved" href="#">Select without holds</a> |
| 152 |
</div> |
161 |
</div> |
| 153 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
162 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords"> |
| 154 |
<table id="biblios" class="records"> |
163 |
<table id="biblios" class="records"> |
| 155 |
<thead> |
164 |
<thead> |
| 156 |
<tr> |
165 |
<tr> |
| 157 |
- |
|
|