|
Lines 512-518
Link Here
|
| 512 |
}); |
512 |
}); |
| 513 |
$("#patron_batchmod_form").on("submit", function(){ |
513 |
$("#patron_batchmod_form").on("submit", function(){ |
| 514 |
/* Reset form fields on inactive tabs */ |
514 |
/* Reset form fields on inactive tabs */ |
| 515 |
var tab = $(this).find('ul.nav-tabs li.active a').attr('href'); |
515 |
var tab = $(this).find('ul.nav-tabs li a.active').attr('href'); |
| 516 |
if ( tab == '#usecardnumber_panel' ) { |
516 |
if ( tab == '#usecardnumber_panel' ) { |
| 517 |
$("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val(""); |
517 |
$("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val(""); |
| 518 |
} else if ( tab == '#useborrowernumber_panel' ) { |
518 |
} else if ( tab == '#useborrowernumber_panel' ) { |
| 519 |
- |
|
|