1$(document).ready(function() { 2 function remove() { 3 $('body').removeClass('hidden-menu'); 4 }; 5 6 function add() { 7 $('body').addClass('hidden-menu'); 8 }; 9 10 var menu = document.getElementById('toggleLeftMenu'); 11 12 if (menu !== null) { 13 menu.onclick = function() { 14 if ($('body').hasClass('hidden-menu')) { 15 remove(); 16 }else { 17 add(); 18 } 19 }; 20 } 21 22 function removeSearch() { 23 $('#search-div').removeClass('opens'); 24 }; 25 26 function addSearch() { 27 $('#search-div').addClass('opens'); 28 }; 29 30 var element = document.getElementById('search-header'); 31 if (typeof(element) !== 'undefined' && element !== null) { 32 document.getElementById('search-header').onclick = function() { 33 if ($('#search-div').hasClass('opens')) { 34 removeSearch(); 35 }else { 36 addSearch(); 37 } 38 }; 39 } 40}); 41 42$(document).ready 43( 44 function() 45 { 46 $('.listChooser a').click 47 ( 48 function() 49 { 50 if ($(this).data('hiddenkey') == 'assignCategory') { 51 return; 52 } 53 54 let txt = ""; 55 56 if ($(this).data('hiddenkey') == 'setfree') { 57 txt = enableSelectedEntries 58 } 59 60 if ($(this).data('hiddenkey') == 'delete') { 61 txt = deleteSelectedEntries 62 } 63 64 if (confirm(txt)) { 65 $('.content_savebox_hidden').val($(this).data('hiddenkey')); 66 $(this).closest('form').submit(); 67 } 68 } 69 ); 70 71 $('.check_all').click 72 ( 73 function() 74 { 75 $('input[name='+$(this).data('childs')+'\\[\\]]').prop('checked', $(this).is(":checked")); 76 } 77 ); 78 79 $('.delete_button').click 80 ( 81 function(event) 82 { 83 if (!confirm(deleteEntry)) { 84 event.preventDefault(); 85 } 86 } 87 ); 88 } 89); 90 91$(document).ready (function() { 92 $( "#main:has(.content_savebox)" ).addClass( "savebox_bottom" ); 93 if (!$('#left-panel').hasClass('hmenu-fixed')) { 94 var element = document.getElementById('header'); 95 if (typeof(element) !== 'undefined' && element !== null) { 96 $(window).scrollTop(0); 97 var headerTop = $('#header').offset().top; 98 99 $(window).scroll ( 100 function() { 101 if ($(window).scrollTop() > headerTop) { 102 $('#left-panel').css('padding', '0px'); 103 } else { 104 $('#left-panel').css('padding', '40px 0 0 0'); 105 } 106 } 107 ); 108 } 109 } else { 110 $('#left-panel').css('padding', '40px 0 0 0'); 111 }; 112});
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.