Lines 64-70
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 |
if (barcode && barcode.value) { |
67 |
if ($("#barcode") && $("#barcode").val()) { |
68 |
$('#barcode').on('keypress',function(event) { |
68 |
$('#barcode').on('keypress',function(event) { |
69 |
$('#barcodeSubmittedModal').modal(); |
69 |
$('#barcodeSubmittedModal').modal(); |
70 |
event.preventDefault(); } |
70 |
event.preventDefault(); } |
71 |
- |
|
|