1var recaptchaVerified = false; 2function ValidateCaptchaFunction() { 3 var response = grecaptcha.getResponse(); 4 if (response.length === 0) { 5 document.getElementById('g-recaptcha-error').innerHTML = '<span style="color:red;">We have to make sure you are not a robot !</span>'; 6 return false; 7 } 8 return true; 9} 10 11function ValidateCaptchaFunctionPopupContact() { 12 13 if (recaptchaVerified==false) { 14 document.getElementById('general-recaptcha-error').innerHTML = '<span style="color:red;">We have to make sure you are not a robot !</span>'; 15 16 17 return false; 18 } 19 grecaptcha.reset(); 20 return true; 21} 22 23function verifyCaptchaPopupContact() { 24 recaptchaVerified = true; 25 26} 27function ContactUs(data) { 28 sweetAlert(data); 29 30} 31function sweetLoader(message) { 32 33 swal(message, { 34 title: "", 35 message: message, 36 icon: "/Images/icons/Loader.gif", 37 buttons: false, 38 closeOnClickOutside: false 39 40 }) 41} 42function sweetAlert(response) { 43 swal({ 44 title: response.ResponseTitle, 45 text: unescape(response.Message), 46 icon: response.ResponseType, 47 closeOnClickOutside: false, 48 buttons: { 49 Ok: "Ok", 50 51 52 } 53 }).then((value) => { 54 55 if (value === "Ok") { 56 $('form').trigger("reset"); 57 grecaptcha.reset(); 58 $('.modal').modal('hide'); 59 } 60 }); 61} 62function sweetAlertError(errorMessage) { 63 swal({ 64 title: "Error", 65 text: errorMessage, 66 icon: "error", 67 closeOnClickOutside: false, 68 buttons: { 69 Ok: "Ok", 70 71 72 } 73 }).then((value) => { 74 if (value == "Ok") { 75 76 $('.modal').modal('hide'); 77 } 78 }); 79}
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.