PageSourceSearch

https://youth4biodiversity.org/wp-content/plugins/donationsystem/js/footable_initialize.js?ver=7.1.2

js youth4biodiversity.org collected 2026-10-01 15:59:25 UTC 1,833 bytes, 58 lines download raw bytes

1jQuery(document).ready(function() {
2    jQuery('.bis_footable').footable();
3    jQuery('#bis_pagination').val(10);
4    jQuery('#bis_pagination').on('change', function() {
5        jQuery('.bis_footable').data('page-size', jQuery(this).value);
6        jQuery('.bis_footable').trigger('footable_initialized');
7    });
8
9
10// For Upload
11    var custom_uploader;
12
13
14    jQuery('#bis_logo_upload').click(function(e) {
15
16        e.preventDefault();
17
18        //If the uploader object has already been created, reopen the dialog
19        if (custom_uploader) {
20            custom_uploader.open();
21            return;
22        }
23
24        //Extend the wp.media object
25        custom_uploader = wp.media.frames.file_frame = wp.media({
26            title: 'Choose Image',
27            button: {
28                text: 'Choose Image'
29            },
30            multiple: false
31        });
32
33        //When a file is selected, grab the URL and set it as the text field's value
34        custom_uploader.on('select', function() {
35            attachment = custom_uploader.state().get('selection').first().toJSON();
36            jQuery('#bis_mail_logo').val(attachment.url);
37        });
38
39        //Open the uploader dialog
40        custom_uploader.open();
41
42    });
43
44    //for selection validation
45    if (jQuery('#bis_enable_mail_logo').is(":checked")) {
46        jQuery('.mail_logo_settings').parent().parent().css('display', 'table-row');
47    } else {
48        jQuery('.mail_logo_settings').parent().parent().css('display', 'none');
49    }
50    //on Change
51    jQuery('#bis_enable_mail_logo').change(function() {
52        if (jQuery(this).is(":checked")) {
53            jQuery('.mail_logo_settings').parent().parent().css('display', 'table-row');
54        } else {
55            jQuery('.mail_logo_settings').parent().parent().css('display', 'none');
56        }
57    });
58});

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.