HEX
Server: Apache
System: Linux webm005.cluster114.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: epubdjye (129326)
PHP: 8.5.7
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/e/p/u/epubdjye/www/wp-content/themes/bizberg/inc/sections/customs.js
jQuery(document).on( 'click' , '.install_activate_recommended_plugins' , function(){

    var to_install_activate_plugins = [];
    var nonce = jQuery(this).data('nonce');
    jQuery('.tb_recommended_plugins_wrapper ul li').each(function() {
        to_install_activate_plugins.push( jQuery(this).attr('id') );
    });

	jQuery.ajax({
        type : "post",
        url  : bizberg.ajaxUrl,
        data : {
         	action                     : "bizberg_install_plugins_customizer",
            nonce                      : nonce,
            to_install_activate_plugin : JSON.stringify( to_install_activate_plugins )
        },
        beforeSend: function() {
	        jQuery('.bizberg_spinner').show();
	        jQuery('.install_activate_recommended_plugins .text').text('Installing & Activating ...');
	    },
        success: function(response) {
        	jQuery('.install_activate_recommended_plugins').hide();
        	location.reload(); // Refresh page
        }
    })

});

jQuery(document).on( 'click' , '.bizberg_remove_install_notice' , function(){

	jQuery.ajax({
        type : "post",
        url : bizberg.ajaxUrl,
        data : {
         	action: "bizberg_hide_install_plugins_notice"
        },
        success: function() {
        	jQuery('#accordion-section-recommended-plugins-customizer').attr('style','display:none !important');
        }
    })

});