|
Lines 68-73
$(document).ready(function() {
Link Here
|
| 68 |
return false; |
68 |
return false; |
| 69 |
} |
69 |
} |
| 70 |
}); |
70 |
}); |
|
|
71 |
|
| 72 |
$("#selectauths").on("submit",function(){ |
| 73 |
var checked = $("#selectauths").find("input[type='checkbox'][name='record_id']:checked").size(); |
| 74 |
if (checked == 0) { |
| 75 |
alert(_("No authorities have been selected.")); |
| 76 |
return false; |
| 77 |
} |
| 78 |
}); |
| 71 |
}); |
79 |
}); |
| 72 |
//]]> |
80 |
//]]> |
| 73 |
</script> |
81 |
</script> |
|
Lines 190-196
$(document).ready(function() {
Link Here
|
| 190 |
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> |
198 |
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> |
| 191 |
| <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> |
199 |
| <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> |
| 192 |
</div> |
200 |
</div> |
| 193 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> |
201 |
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths"> |
| 194 |
<table id="authorities" class="records"> |
202 |
<table id="authorities" class="records"> |
| 195 |
<thead> |
203 |
<thead> |
| 196 |
<tr> |
204 |
<tr> |
| 197 |
- |
|
|