|
Lines 569-575
Link Here
|
| 569 |
$('form[name="f"]').on("submit", function(){ |
569 |
$('form[name="f"]').on("submit", function(){ |
| 570 |
// Add the checkboxes to the DOM before we submit the form |
570 |
// Add the checkboxes to the DOM before we submit the form |
| 571 |
var form = this; |
571 |
var form = this; |
| 572 |
var checkboxes = patron_table.$('input:checkbox:checked').serializeArray(); |
572 |
var checkboxes = $(patron_table).find('input:checkbox:checked').serializeArray(); |
| 573 |
$.each(checkboxes, function(){ |
573 |
$.each(checkboxes, function(){ |
| 574 |
let borrowernumber = this.value; |
574 |
let borrowernumber = this.value; |
| 575 |
if(!$(form).find('input[name="borrowernumber"][value="'+borrowernumber+'"]').length){ |
575 |
if(!$(form).find('input[name="borrowernumber"][value="'+borrowernumber+'"]').length){ |
| 576 |
- |
|
|