1$(document).ready(function(){ 2 $("A.related_link").each(function() { 3 var n=this.id.replace("related_link_",""); 4 $(this).click(function() { 5 clickRelatedLink(n); 6 }); 7 }); 8}); 9 10function clickTrackingLink(n) { 11 $.ajax({ 12 type:"POST", 13 url:"/admin/frontend/tracking_link_log.php", 14 data:"id="+n, 15 dataType:"text", 16 success:function(n){return!0}, 17 error:function(n,t,a){} 18 }); 19} 20 21function trackModal(n) { 22 $.ajax({ 23 type:"POST", 24 url:"/admin/frontend/tracking_modal_log.php", 25 data:"id="+n, 26 dataType:"text", 27 success:function(n){return!0}, 28 error:function(n,t,a){} 29 }); 30} 31 32function clickRelatedLink(n) { 33 $.ajax({ 34 type:"POST", 35 url:"/admin/frontend/related_link_log.php", 36 data:"id="+n, 37 dataType:"text", 38 success:function(n){return!0}, 39 error:function(n,t,a){} 40 }); 41} 42 43function trackCAlcXML(n) { 44 $.ajax({
45 type:"POST", 46 url:"/admin/frontend/tracking_calcxml_log.php", 47 data:"id="+n, 48 dataType:"text", 49 success:function(n){return!0}, 50 error:function(n,t,a){} 51 }); 52} 53 54function recaptcha3ThenSubmit(form_obj, recaptcha_key, special) { 55 if (form_obj) { 56 $(form_obj).removeAttr('onsubmit').submit(function(e) { return true; }); 57 58 grecaptcha.ready(function() { 59 grecaptcha.execute(recaptcha_key, {action: 'submit'}).then(function(token) { 60 $('INPUT[name="g-recaptcha-response"]').val(token); 61 62 if (special === 'uni') { 63 if (uniValidate(form_obj)) { 64 $(form_obj).submit(); 65 } 66 } else { 67 $(form_obj).submit(); 68 } 69 }); 70 }); 71 } 72 73 return false; 74}
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.