1 2function doAjaxDynasol(urlAjax, typeAjax, dataTypeAjax, paramsAjax, callbackFn, callbackFnParams) { 3 jQuery.ajax({ 4 url: urlAjax, 5 type: typeAjax, 6 dataType: dataTypeAjax, 7 data: paramsAjax, 8 cache: false, 9 beforeSend: function(jqXHR, settings) { 10 }, 11 success: function(data, textStatus, jqXHR) { 12 if (callbackFn!=undefined && callbackFn!=null && callbackFn!='' 13 && callbackFnParams!=undefined && callbackFnParams!=null && callbackFnParams!='') { 14 callbackFn( data, callbackFnParams ); 15 } else if (callbackFn!=undefined && callbackFn!=null && callbackFn!='') { 16 callbackFn( data ); 17 } 18 }, 19 error: function(jqXHR, textStatus, errorThrown) { 20 console.error("doAjaxDynasol error!"); 21 }, 22 complete: function(jqXHR, textStatus) { 23 } 24 }); 25} 26 27$(document).ready(function () { 28 $('.filters').show(); 29 if ($(window).width() < 992){ 30 $('.filters').hide(); 31 $('.js-open-filters').click(function () { 32 $('.filters').show(1000); 33 }) 34 $('.js-close-filters').click(function () { 35 $('.filters').hide(1000); 36 }); 37 } 38}); 39$(window).resize(function () { 40 if ($(window).width() > 992) { 41 $('.filters').show(); 42 } else{ 43 $('.filters').hide(); 44 } 45}); 46 47$(document).ready(function () { 48 49 if ($(".m-product").length > 0) { 50 $('.js-open-filters').click(function () { 51 $('.m-product-search-filters').show(1000); 52 $('.btn-show-filters').hide(); 53 $('.btn-hide-filters').show(); 54 }); 55 $('.js-hide-filters').click(function () { 56 $('.m-product-search-filters').hide(1000); 57 $('.btn-show-filters').show(); 58 $('.btn-hide-filters').hide(); 59 }); 60 } 61 62 $('.js-select-multi').click(function () { 63 $(this).toggleClass('active'); 64 $(this).next('#brandCombo').toggleClass('active'); 65 }); 66 67}); 68 69
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.