PageSourceSearch

https://propshoptrader.com/wp-content/plugins/payout-plugin/assets/js/riseworks-invite.js?ver=1790721219

js propshoptrader.com collected 2026-09-29 22:36:02 UTC 2,005 bytes, 54 lines download raw bytes

1jQuery(document).ready(function ($) {
2    $('#rise-invite').on('click', function (e) {
3        e.preventDefault();
4
5        var $button = $(this);
6        $button.prop('disabled', true).text('Loading...');
7
8        var data = {
9            action: 'send_riseworks_invite',
10            nonce: myAjax.nonce
11        };
12
13        $.ajax({
14            url: myAjax.ajaxurl,
15            type: 'POST',
16            data: data,
17            success: function (response) {
18
19                if (response.success) {
20
21                    jQuery('#rise-invite').remove();
22                    const rise_message = jQuery('#rise-invite-message');
23                    jQuery(rise_message).removeClass('hide-message');
24
25                } else {
26
27                    const method_response_div = jQuery('#method-response-message');
28                    let formattedResponse = '';
29                    for (const [field, message] of Object.entries(response.data)) {
30                        formattedResponse += message;
31                    }
32                    console.log('Rise response.else ' + formattedResponse);
33                    const responseParagraph = jQuery('<p style="color: red; font-weight: bold;">' + formattedResponse + '</p>');
34                    //method_response_div.append(responseParagraph);
35                    $button.prop('disabled', false).text('Send Rise Invite');
36
37                    setTimeout(function () {
38                        responseParagraph.fadeOut(function () {
39                            jQuery(this).remove();
40                        });
41                    }, 5000);
42
43                }
44            },
45            error: function () {
46                $button.prop('disabled', false).text('Send Rise Invite');
47                $button.after('<p style="color: red; font-weight: bold;">An error occurred. Please try again later.</p>');
48                setTimeout(function () {
49                    $button.next('p').fadeOut();
50                }, 3000);
51            }
52        });
53    });
54});

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.