1jQuery(document).ready(function ($) { 2 3 4 function Logout() { 5 window.location.href = "https://accounts.claveunica.gob.cl/api/v1/accounts/app/logout"; 6 7 setTimeout(function () { 8 window.location.href = "/"; 9 }, 1000); 10 } 11 12 13 $("#closeSession").on("click", function (event) { 14 event.preventDefault(); 15 16 Logout(); 17 }) 18 19 20 $("#formID").on("submit", function (e) { 21 22 23 e.preventDefault(); 24 var formData = $(this).serialize(); 25 var nonce = $("#senddata_nonce").val(); 26 27 var regionLabel = $("#staticRegion option:selected").text(); 28 var comunaLabel = $("#staticComuna option:selected").text(); 29 var sucursalLabel = $("#staticSucursal option:selected").text(); 30 31 $.ajax({ 32 type: "POST", url: ajax_object.ajax_url, data: { 33 action: "sendDataForm", 34 formData: formData, 35 regionLabel: regionLabel, 36 comunaLabel: comunaLabel, 37 sucursalLabel: sucursalLabel, 38 senddata_nonce: nonce 39 40 }, success: function (response) { 41 if (response.success) { 42 window.location.href = response.data.url; 43 } else { 44 console.log(response); 45 } 46 } 47 }); 48 }); 49});
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.