1function woof_init_selects() { 2 if (is_woof_use_chosen) { 3 try { 4 // jQuery("select.woof_select").chosen('destroy').trigger("liszt:updated"); 5 jQuery("select.woof_select, select.woof_price_filter_dropdown").chosen(/*{disable_search_threshold: 10}*/); 6 } catch (e) { 7 8 } 9 } 10 11 jQuery('.woof_select').change(function () { 12 var slug = jQuery(this).val(); 13 var name = jQuery(this).attr('name'); 14 woof_select_direct_search(this, name, slug); 15 }); 16} 17 18function woof_select_direct_search(_this, name, slug) { 19 20 jQuery.each(woof_current_values, function (index, value) { 21 if (index == name) { 22 delete woof_current_values[name]; 23 return; 24 } 25 }); 26 27 if (slug != 0) { 28 woof_current_values[name] = slug; 29 } 30 31 woof_ajax_page_num = 1; 32 if (woof_autosubmit || jQuery(_this).within('.woof').length == 0) { 33 woof_submit_link(woof_get_submit_link()); 34 } 35 36} 37 38
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.