PageSourceSearch

https://makerspace.com/wp-content/plugins/make-elementor-widgets/includes/js/omeda.js?ver=2.13

js makerspace.com collected 2026-10-02 10:06:19 UTC 1,705 bytes, 56 lines download raw bytes

1jQuery(document).ready(function ($) {
2    save_omeda_postalID($);
3});
4
5function save_omeda_postalID($) {
6    var updateOmedaIdBtn = $('#make-update-Omeda-ID')
7
8    updateOmedaIdBtn.on('click', function (e) {
9        e.preventDefault();
10
11        // retrieve ID entered
12        var postal_id = $("#omeda_postal_id").val();
13        if(postal_id==''){
14            makeModal("You must enter an account number to proceed.");
15            return;
16        }
17
18        // set data object
19        var data = {
20            action: 'saveOmedaID',
21            nonce: make_ajax_object.ajaxnonce,
22            postal_id: postal_id
23        };
24
25        // call Ajax
26        $.ajax({
27            url: make_ajax_object.ajaxurl,  // Ajax handler
28            type: "post",
29            data: data,
30            beforeSend: function (xhr) {
31                // show loading text
32                updateOmedaIdBtn.css({"pointer-events":"none", "background":"grey", "color":"white"});
33                updateOmedaIdBtn.html("Loading <i class='fa fa-spinner'></i>");
34            },
35            success: function (res) {
36                console.log('success');
37                makeModal(res);
38                $('.elementor-widget-mysubs').load(document.URL + " .elementor-widget-mysubs > *", function(){
39					updateOmedaIdBtn.css({"pointer-events":"all", "background":"white", "color": "#005e9a"});
40                    updateOmedaIdBtn.html("Update");
41                    save_omeda_postalID($);
42                    $(".more-info").click(function(){
43						$(this).parent().toggleClass( "open" );
44					});
45				});
46				
47            },
48            error: function (e) {
49                console.log(e);
50            },
51
52        });
53
54    });
55
56}

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.