PageSourceSearch

https://digitalsolutionsltd.com/wp-content/plugins/woocommerce-pro…?ver=5063954200759ce64f2a0e2657fe2832

js digitalsolutionsltd.com collected 2026-10-05 21:40:24 UTC 2,372 bytes, 72 lines download raw bytes

1function woof_init_checkboxes() {
2    if (icheck_skin != 'none') {
3        jQuery('.woof_checkbox_term').iCheck('destroy');
4
5        jQuery('.woof_checkbox_term').iCheck({
6            checkboxClass: 'icheckbox_' + icheck_skin.skin + '-' + icheck_skin.color,
7            //checkboxClass: 'icheckbox_square-green'
8        });
9
10        jQuery('.woof_checkbox_term').on('ifChecked', function (event) {
11            jQuery(this).attr("checked", true);
12            woof_checkbox_process_data(this, true);
13        });
14
15        jQuery('.woof_checkbox_term').on('ifUnchecked', function (event) {
16            jQuery(this).attr("checked", false);
17            woof_checkbox_process_data(this, false);
18        });
19    } else {
20        jQuery('.woof_checkbox_term').on('change', function (event) {
21            if (jQuery(this).is(':checked')) {
22                jQuery(this).attr("checked", true);
23                woof_checkbox_process_data(this, true);
24            } else {
25                jQuery(this).attr("checked", false);
26                woof_checkbox_process_data(this, false);
27            }
28        });
29    }
30}
31function woof_checkbox_process_data(_this, is_checked) {
32    var tax = jQuery(_this).data('tax');
33    var name = jQuery(_this).attr('name');
34    var term_id = jQuery(_this).data('term-id');
35    woof_checkbox_direct_search(term_id, name, tax, is_checked);
36}
37function woof_checkbox_direct_search(term_id, name, tax, is_checked) {
38
39    var values = '';
40    var checked = true;
41    if (is_checked) {
42        if (tax in woof_current_values) {
43            woof_current_values[tax] = woof_current_values[tax] + ',' + name;
44        } else {
45            woof_current_values[tax] = name;
46        }
47        checked = true;
48    } else {
49        values = woof_current_values[tax];
50        values = values.split(',');
51        var tmp = [];
52        jQuery.each(values, function (index, value) {
53            if (value != name) {
54                tmp.push(value);
55            }
56        });
57        values = tmp;
58        if (values.length) {
59            woof_current_values[tax] = values.join(',');
60        } else {
61            delete woof_current_values[tax];
62        }
63        checked = false;
64    }
65    jQuery('.woof_checkbox_term_' + term_id).attr('checked', checked);
66    woof_ajax_page_num = 1;
67    if (woof_autosubmit) {
68        woof_submit_link(woof_get_submit_link());
69    }
70}
71
72

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.