1var $=jQuery; 2$(function(jQuery){ 3 $('.search-form .dropdown-menu li.thistype a').click(function(){ 4 var selecttypehtml=$(this).html(); 5 var selecttype=$(this).data('type'); 6 var searchquery=$(this).parents('.search-form').find('.search-query').val(); 7 $(this).parents('.search-form').find('.selected-type .val').text(selecttypehtml); 8 $(this).parents('.search-form').find('.search-type').val(selecttype); 9 $(this).parents('.search-form').find('.dropdown-menu li').removeClass('active') 10 $(this).parents('li').addClass('active'); 11 12 if(searchquery!=''){ 13 $(this).parents('form').submit(); 14 } else { 15 $(this).parents('.search-form').find('.search-query').focus(); 16 } 17 18 }); 19 $('.search-form .dropdown-menu li.thisterm a').click(function(){ 20 var selecttypehtml=$(this).parents('.parenttype').find('a').html(); 21 var selecttype=$(this).parents('.parenttype').find('a').data('type'); 22 var selectterm=$(this).data('term'); 23 var searchquery=$(this).parents('.search-form').find('.search-query').val(); 24 25 $(this).parents('.search-form').find('.selected-type .val').text(selecttypehtml); 26 $(this).parents('.search-form').find('.search-type').val(selecttype); 27 $(this).parents('.search-form').find('.search-term').val(selectterm); 28 29 30 $(this).parents('.search-form').find('.dropdown-menu li').removeClass('active') 31 $(this).parents('li').addClass('active'); 32 33 if(searchquery!=''){ 34 $(this).parents('form').submit(); 35 } else { 36 $(this).parents('.search-form').find('.search-query').focus(); 37 } 38 }); 39})
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.