PageSourceSearch

http://executiveextra.com/js/by_instock0250.js?ver=3.3.7.1

js executiveextra.com collected 2026-09-30 14:14:46 UTC 2,737 bytes, 77 lines download raw bytes

1"use strict";
2function woof_init_instock() {
3    if (icheck_skin != 'none') {
4
5        jQuery('.woof_checkbox_instock').iCheck('destroy');
6
7        let icheck_selector = '.woof_checkbox_instock';
8        let skin = jQuery(icheck_selector).parents('.woof_redraw_zone').eq(0).data('icheck-skin');
9        if (skin) {
10            skin = skin.split('_');
11            jQuery(icheck_selector).iCheck({
12                checkboxClass: 'icheckbox_' + skin[0] + '-' + skin[1]
13            });
14        } else {
15            jQuery(icheck_selector).iCheck({
16                checkboxClass: 'icheckbox_' + icheck_skin.skin + '-' + icheck_skin.color
17            });
18        }
19
20        jQuery('.woof_checkbox_instock, .woof_checkbox_instock2').on('ifChecked', function (event) {
21            jQuery(this).attr("checked", true);
22            woof_current_values.stock = 'instock';
23            woof_ajax_page_num = 1;
24            if (woof_autosubmit) {
25                woof_submit_link(woof_get_submit_link());
26            }
27        });
28
29        jQuery('.woof_checkbox_instock, .woof_checkbox_instock2').on('ifUnchecked', function (event) {
30            jQuery(this).attr("checked", false);
31            delete woof_current_values.stock;
32            woof_ajax_page_num = 1;
33            if (woof_autosubmit) {
34                woof_submit_link(woof_get_submit_link());
35            }
36        });
37    } else {
38        jQuery('.woof_checkbox_instock').on('change', function (event) {
39            if (jQuery(this).is(':checked')) {
40                jQuery(this).attr("checked", true);
41                woof_current_values.stock = 'instock';
42                woof_ajax_page_num = 1;
43                if (woof_autosubmit) {
44                    woof_submit_link(woof_get_submit_link());
45                }
46            } else {
47                jQuery(this).attr("checked", false);
48                delete woof_current_values.stock;
49                woof_ajax_page_num = 1;
50                if (woof_autosubmit) {
51                    woof_submit_link(woof_get_submit_link());
52                }
53            }
54        });
55    }
56
57
58    //+++
59
60    jQuery('.woof_checkbox_instock_as_switcher').on('change', function (event) {
61        if (jQuery(this).is(':checked')) {
62            jQuery(this).attr("checked", true);
63            woof_current_values.stock = 'instock';
64            woof_ajax_page_num = 1;
65            if (woof_autosubmit) {
66                woof_submit_link(woof_get_submit_link());
67            }
68        } else {
69            jQuery(this).attr("checked", false);
70            delete woof_current_values.stock;
71            woof_ajax_page_num = 1;
72            if (woof_autosubmit) {
73                woof_submit_link(woof_get_submit_link());
74            }
75        }
76    });
77}

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.