1var payment_spec_redir_allow=1; 2function order_checkout_start(start_url) { 3 let input = $("#oneclick_pass"); 4 if (input.length && input.hasClass('is-required') && input.val() == ''){ 5 input.addClass('is-invalid').closest('.js-oneclick-pass-wrap').addClass('has-fault'); 6 overlay_load("warning",UNAS.text.orderflow_missing_oneclick_pass); 7 } else { 8 if (payment_spec_redir_allow == 1) { 9 payment_spec_redir_allow = 0; 10 location.href = start_url; 11 } 12 } 13} 14 15$(document).ready(function(){ 16 $("#button_pay").click(function(){ 17 let input = $("#oneclick_pass"); 18 if (input.length && input.hasClass('is-required') && input.val() == ''){} else { 19 $("#button_pay").attr("disabled", "disabled"); 20 $("#button_pay").prop("disabled", true); 21 22 $("#button_prev").attr("disabled", "disabled"); 23 $("#button_prev").prop("disabled", true); 24 } 25 }); 26});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.