|
Lines 64-76
function toggle_onsite_checkout(){
Link Here
|
| 64 |
|
64 |
|
| 65 |
$(document).ready(function() { |
65 |
$(document).ready(function() { |
| 66 |
$('#mainform').on('submit',function() { |
66 |
$('#mainform').on('submit',function() { |
| 67 |
$('#barcode').on('keypress',function(event) { |
67 |
if (barcode && barcode.value) { |
| 68 |
$('#barcodeSubmittedModal').modal(); |
68 |
$('#barcode').on('keypress',function(event) { |
| 69 |
event.preventDefault(); } |
69 |
$('#barcodeSubmittedModal').modal(); |
| 70 |
); |
70 |
event.preventDefault(); } |
|
|
71 |
); |
| 72 |
} |
| 71 |
}); |
73 |
}); |
| 72 |
|
74 |
|
| 73 |
|
|
|
| 74 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
75 |
[% IF !( CircAutoPrintQuickSlip == 'clear' ) %] |
| 75 |
// listen submit to trigger qslip on empty checkout |
76 |
// listen submit to trigger qslip on empty checkout |
| 76 |
$('#mainform').bind('submit',function() { |
77 |
$('#mainform').bind('submit',function() { |
| 77 |
- |
|
|