1/** 2 * @copyright Ueppy S.R.L. 3 */ 4/** CONFIG - INIZIO **/ 5var debug = true; 6var rel_root = '/'; 7// i font devono essere caricati in locale non più google fonts 8/** CONFIG - FINE **/ 9 10var main_host; 11var lang = 'it'; 12// Garantire load dopo ready con jquery >= 3 13var windowLoaded = false; 14$(window).on("load", function () { 15 windowLoaded = true; 16}); 17 18var afterLoad = function() { 19 20} 21 22$(function () { 23 $(document).on('click', '.disabled', function (e) { 24 e.preventDefault(); 25 }); 26 27 $('.newwindow').bind('click', function (e) { 28 e.preventDefault(); 29 var href = $(this).attr('href'); 30 window.open(href, '', ''); 31 return false; 32 }); 33 34 main_host = location.protocol + '//' + location.host + rel_root; 35 36 lang = $('meta[http-equiv="Content-Language"]').attr('content'); 37 38 $.ajaxSetup({ 39 type: "POST", 40 error: function (x, e) { 41 Utility.unlockScreen(); 42 if (x.status == 404) { 43 Utility.alert({message: (Utility.getLang('base', 'WARNING'), 'Url non trovato')}); 44 } else if (x.status != 500) { 45 if (e == 'parsererror') { 46 Utility.alert({message: Utility.getLang('base', 'JSON_ERROR') + "\n" + x.responseText}); 47 } else { 48 if (e == 'timeout') { 49 Utility.alert({message: (Utility.getLang('base', 'WARNING'), 'Richiesta andata in timeout')}); 50 } else { 51 Utility.alert({message: (Utility.getLang('base', 'WARNING'), 'Errore sconosciuto')}); 52 } 53 } 54 } 55 } 56 }); 57 58 if (!windowLoaded) { 59 $(window).on("load", afterLoad); 60 } else { 61 afterLoad(); 62 } 63});
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.