PageSourceSearch

https://meinlauftagebuch.ch/wp-content/plugins/wpdatatables/backen…/assets/js/wdt-custom-avada-js.js?ver=8.0.2

js meinlauftagebuch.ch collected 2026-09-24 10:07:05 UTC 2,644 bytes, 74 lines download raw bytes

1(function ($) {
2    $(document).on('fusion-builder-settings-render', function () {
3        $('select[name="id"]').on('change', function () {
4            let selectedTableID = $(this).val();
5
6            if (selectedTableID) {
7                $.ajax({
8                    url: wdt_ajax_object.ajaxurl,
9                    type: 'POST',
10                    data: {
11                        action: 'get_table_type_by_id',
12                        table_id: selectedTableID
13                    },
14                    success: function (response) {
15                        var tableType = JSON.parse(response).tableType;
16
17                        if (tableType === 'woo_commerce') {
18                            $('select[name="table_view"]').closest('.fusion-builder-option').hide();
19                        } else {
20                            $('select[name="table_view"]').closest('.fusion-builder-option').show();
21                        }
22                    }
23                });
24            }
25        });
26    });
27
28    $(document).on('change', '.wpdatatable select[name="id"]', function () {
29        let selectedTableID = $(this).val();
30
31        if (selectedTableID) {
32            $.ajax({
33                url: wdt_ajax_object.ajaxurl,
34                type: 'POST',
35                data: {
36                    action: 'get_table_type_by_id',
37                    table_id: selectedTableID
38                },
39                success: function (response) {
40                    var tableType = JSON.parse(response).tableType;
41
42                    if (tableType === 'woo_commerce') {
43                        $('li[data-option-id="table_view"]').hide();
44                    } else {
45                        $('li[data-option-id="table_view"]').hide();
46                    }
47                }
48            });
49        }
50    });
51    $(document).on('change', 'ul[data-element="wpdatatable"] input#id', function () {
52        let selectedTableID = $(this).val();
53
54        if (selectedTableID) {
55            $.ajax({
56                url: wdt_ajax_object.ajaxurl,
57                type: 'POST',
58                data: {
59                    action: 'get_table_type_by_id',
60                    table_id: selectedTableID
61                },
62                success: function (response) {
63                    var tableType = JSON.parse(response).tableType;
64
65                    if (tableType === 'woo_commerce') {
66                        $('li[data-option-id="table_view"]').hide();
67                    } else {
68                        $('li[data-option-id="table_view"]').hide();
69                    }
70                }
71            });
72        }
73    });
74})(jQuery);

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.