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/epubdjye/www/wp-content/themes/bizberg/inc/install-recommended-plugins/admin.js
jQuery(document).on( 'click' , '.button_wrapper_theme a.bizberg_install_plugins' , function(){

	var $this = jQuery(this);
	var nonce = $this.attr('data-nonce');
	var demo_import_page = $this.attr('data-redirect');

	jQuery.ajax({
		type : "post",
		url : ajaxurl,
		data : {
			action: "bizberg_install_plugins", 
			nonce: nonce
		},
		beforeSend: function() {
			
			$this.css({
				'pointer-events' : 'none'
			}); // Disable button

			jQuery('.theme-info-wrapper .bizberg_dismiss').css({
				'pointer-events' : 'none'
			}); // Disable button

			$this.find('span').css({
				'padding-left' : '5px'
			}).text( 'Processing ... Please wait' );

			$this.find('i.fas').show();
	    },
	    success: function() {
	     	window.location.href = demo_import_page;
	    }
	})
});