|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/KMU-CSR-PLANER/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() {
$('body').addClass('udp-no-scroll');
var btn = $('.updraftplus-ui-deinstall-dialog .ui-dialog-buttonset button:first-child');
$('#updraftplus-deinstall-dialog').on('click', '.udp-toggle-container', function() {
btn.text($(this).find('input:checked').length ? upraftplusdialog.remove : upraftplusdialog.deactivate);
});
$(this).on('dialogclose', function() {
$('body').removeClass('udp-no-scroll');
});
});
})(jQuery);