|
Lines 1620-1625
Link Here
|
| 1620 |
|
1620 |
|
| 1621 |
// Default to Checkouts view on page load |
1621 |
// Default to Checkouts view on page load |
| 1622 |
buttonContainer.find('button:first').trigger('click'); |
1622 |
buttonContainer.find('button:first').trigger('click'); |
|
|
1623 |
|
| 1624 |
// Ensure all form inputs are submitted, even those in hidden columns |
| 1625 |
$('#default-circulation-rules').closest('form').on('submit', function(e) { |
| 1626 |
// Show all columns before form submission to ensure all inputs are included |
| 1627 |
dtApi.columns().visible(true); |
| 1628 |
dtApi.columns(getColumnSelector(['sort-patron', 'sort-item'])).visible(false); |
| 1629 |
// Form will submit normally after this |
| 1630 |
}); |
| 1623 |
}); |
1631 |
}); |
| 1624 |
|
1632 |
|
| 1625 |
function clear_edit() { |
1633 |
function clear_edit() { |
| 1626 |
- |
|
|