PageSourceSearch

https://www.casbo.org/wp-content/plugins/fusionspan-casbo-bod/js/script.js?j=1790368639&ver=1.0.0

js casbo.org collected 2026-09-25 20:38:28 UTC 1,780 bytes, 47 lines download raw bytes

1jQuery(document).ready(function () {
2
3    //update the sync status when sync completes
4    //to know the status of items remaining to be synced
5    setInterval(function () {
6        var urlParams = new URLSearchParams(window.location.search);
7        var post_type = urlParams.get('page');
8
9        if (post_type == 'sf_bod_sync') {
10
11            //make ajax request to get the status of items remaining to be synced
12            jQuery.ajax({
13                url: '/wp-content/plugins/fusionspan-casbo-bod/ajaxGetSyncStatus.php',
14                type: 'jsonp',
15                data: {
16                    post_type: post_type
17                },
18                success: function (response) {
19                    
20                    if (response == 0 && jQuery('#message').hasClass('notice-success')) {
21
22                        jQuery('#ajax_loader').hide();
23                        jQuery('.btn_sync_now').removeAttr("disabled");
24                        jQuery('.p_items_syncing').hide();
25                        jQuery('#message p').html('Sync has completed and was successful.');
26
27                    }
28                },
29
30                error: function (jqXHR, textStatus, errorThrown) {
31
32                    jQuery('#message').removeClass('notice-success');
33                    jQuery('#message').removeClass('notice');
34                    jQuery('#message').addClass('notice-error');
35                    jQuery('#message').addClass('error');
36
37                    jQuery('#ajax_loader').hide();
38                    jQuery('.btn_sync_now').removeAttr("disabled");
39                    jQuery('.p_items_syncing').hide();
40                    //jQuery('#message p').html('Sync failed. Refresh page and try again.');
41                },
42
43            });
44        }
45
46    }, 8000);
47});

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.