| Server IP : 104.21.20.195 / Your IP : 172.71.28.154 Web Server : nginx/1.22.1 System : Linux ubuntu-s-6001-1-lun 5.15.0-191-generic #201-Ubuntu SMP Fri Aug 7 18:39:04 UTC 2026 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/ww88cv.com/wp-content/plugins/updraftplus/js/ |
Upload File : |
/**
* Deactivation Dialog Script for UpdraftPlus Plugin
* This script customizes the deactivation dialog by adding specific classes to buttons
*/
(function($) {
$(document).on('dialogopen', '#updraftplus-deinstall-dialog', function() {
var $dialog = $(this);
$('body').addClass('udp-no-scroll');
var btn = $('.updraftplus-ui-deinstall-dialog .ui-dialog-buttonset button:first-child');
$dialog.on('click', '.udp-toggle-container', function() {
btn.text($(this).find('input:checked').length ? upraftplusdialog.remove : upraftplusdialog.deactivate);
});
// Show spinner on click.
btn[0].addEventListener('click', function() {
if (btn.hasClass('udp-loading')) return;
btn.addClass('udp-loading').html('<span class="udp-spinner" aria-hidden="true"></span>' + btn.text());
$dialog.dialog('option', 'beforeClose', function() {
return false;
});
}, true);
$dialog.on('dialogclose', function() {
$('body').removeClass('udp-no-scroll');
});
});
})(jQuery);