| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/d2m/sofident_cz/wp-content/plugins/wpml-string-translation/res/js/ |
Upload File : |
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.prop('disabled', true);
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.prop('disabled', false);
self.next().fadeOut();
}
});
});
});