1function recaptchaCallback() { 2 if (grecaptcha && grecaptcha.getResponse().length > 0) { 3 $('#captcha_error').html(''); 4 } 5} 6$("#btn_login").click(function(event) { 7 event.preventDefault(); 8 // Code of recaptcha 9 var captcha = 'true'; 10 if (GOOGLE_CAPTCHA == 1) { 11 if (grecaptcha && grecaptcha.getResponse().length > 0) { 12 $('#captcha_error').html(''); 13 } else { 14 var captcha = ''; 15 $('#captcha_error').html('<br>Oops, you have to check the recaptcha !<br>'); 16 } 17 } 18 if (captcha != '') { 19 $("#login_form").submit(); 20 } else { 21 return false; 22 } 23});
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.