PageSourceSearch

https://www.royalsaat.com/wp-content/plugins/woocommerce-products-…/js/by_backorder.js?ver=3.3.5.1

js royalsaat.com collected 2026-10-04 19:09:22 UTC 2,755 bytes, 77 lines download raw bytes

1"use strict";
2function woof_init_onbackorder() {
3    if (icheck_skin != 'none') {
4
5        jQuery('.woof_checkbox_onbackorder').iCheck('destroy');
6
7        let icheck_selector = '.woof_checkbox_onbackorder';
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_onbackorder').on('ifChecked', function (event) {
21            jQuery(this).attr("checked", true);
22            woof_current_values.backorder = 'onbackorder';
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_onbackorder').on('ifUnchecked', function (event) {
30            jQuery(this).attr("onbackorder", false);
31            delete woof_current_values.backorder;
32            woof_ajax_page_num = 1;
33            if (woof_autosubmit) {
34                woof_submit_link(woof_get_submit_link());
35            }
36        });
37
38    } else {
39        jQuery('.woof_checkbox_onbackorder').on('change', function (event) {
40            if (jQuery(this).is(':checked')) {
41                jQuery(this).attr("checked", true);
42                woof_current_values.backorder = 'onbackorder';
43                woof_ajax_page_num = 1;
44                if (woof_autosubmit) {
45                    woof_submit_link(woof_get_submit_link());
46                }
47            } else {
48                jQuery(this).attr("checked", false);
49                delete woof_current_values.backorder;
50                woof_ajax_page_num = 1;
51                if (woof_autosubmit) {
52                    woof_submit_link(woof_get_submit_link());
53                }
54            }
55        });
56    }
57
58    //+++
59
60    jQuery('.woof_checkbox_onbackorder_as_switcher').on('change', function (event) {
61        if (jQuery(this).is(':checked')) {
62            jQuery(this).attr("checked", true);
63            woof_current_values.backorder = 'onbackorder';
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.backorder;
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.