HEX
Server: Apache
System: Linux host.dominioscaracas.com 4.18.0-477.15.1.lve.2.el8.x86_64 #1 SMP Wed Aug 2 10:43:45 UTC 2023 x86_64
User: enciassa (1159)
PHP: 8.1.31
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/enciassa/www/wp-content/plugins/gp-premium/inc/legacy/assets/dashboard.js
jQuery( function( $ ) {
	$( '#generate-select-all' ).on( 'click', function() {
		if ( this.checked ) {
			$( '.addon-checkbox:not(:disabled)' ).each( function() {
				this.checked = true;
			} );
		} else {
			$( '.addon-checkbox' ).each( function() {
				this.checked = false;
			} );
		}
	} );

	$( '#generate_license_key_gp_premium' ).on( 'input', function() {
		if ( '' !== $.trim( this.value ) ) {
			$( '.beta-testing-container' ).show();
		} else {
			$( '.beta-testing-container' ).hide();
		}
	} );

	$( 'input[name="generate_package_hooks_deactivate_package"]' ).on( 'click', function() {
		// eslint-disable-next-line no-alert
		var check = confirm( dashboard.deprecated_module );

		if ( ! check ) {
			return false;
		}
	} );

	$( 'input[name="generate_package_page_header_deactivate_package"]' ).on( 'click', function() {
		// eslint-disable-next-line no-alert
		var check = confirm( dashboard.deprecated_module );

		if ( ! check ) {
			return false;
		}
	} );

	$( 'input[name="generate_package_sections_deactivate_package"]' ).on( 'click', function() {
		// eslint-disable-next-line no-alert
		var check = confirm( dashboard.deprecated_module );

		if ( ! check ) {
			return false;
		}
	} );
} );