1function redirect_to_banner(url, target, user_id, banner_id, evento) { 2 $.ajax({ 3 url: "/eventosBannersave", 4 type: 'GET', 5 data: { user_id : user_id, 6 banner_id : banner_id, 7 evento :evento 8 },success: function(data) { 9 if (target !== "") { 10 window.open(url, '_blank'); 11 } else { 12 window.location.href = url; 13 } 14 },error: function(jqXHR, textStatus, errorThrown) { 15 16 } 17 }); 18} 19 20function saveBoletin() { 21 if ($("#formBoletin").valid()) { 22 $.ajax({ 23 type: "POST", 24 url: "/guardar_boletin", 25 beforeSend: function() { 26 $("#loadBoletin").addClass('fa fa-refresh fa-spin'); 27 }, 28 data: $("#formBoletin").serialize() 29 }) 30 .done(function(response) { 31 $("#loadBoletin").removeClass('fa fa-refresh fa-spin'); 32 $('#formBoletin')[0].reset(); 33 Swal.fire({ 34 icon: response.tipo, 35 text: response.mensaje,
36 showCancelButton: false, 37 confirmButtonColor: '#3085d6', 38 cancelButtonColor: '#d33', 39 confirmButtonText: 'Aceptar' 40 }) 41 }) 42 } 43}
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.