updated plugin GP Premium
version 2.0.3
This commit is contained in:
@ -8,7 +8,8 @@
|
||||
padding: 10px 15px;
|
||||
cursor: pointer;
|
||||
color: #222;
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.generatepress-dashboard-tabs a:not(:last-child) {
|
||||
|
@ -1,13 +1,13 @@
|
||||
jQuery( document ).ready(function( $ ) {
|
||||
$( '#generate-select-all' ).on( 'click', function( event ) {
|
||||
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;
|
||||
});
|
||||
} );
|
||||
}
|
||||
} );
|
||||
|
||||
@ -20,6 +20,7 @@ jQuery( document ).ready(function( $ ) {
|
||||
} );
|
||||
|
||||
$( 'input[name="generate_package_hooks_deactivate_package"]' ).on( 'click', function() {
|
||||
// eslint-disable-next-line no-alert
|
||||
var check = confirm( dashboard.deprecated_module );
|
||||
|
||||
if ( ! check ) {
|
||||
@ -28,10 +29,20 @@ jQuery( document ).ready(function( $ ) {
|
||||
} );
|
||||
|
||||
$( '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;
|
||||
}
|
||||
} );
|
||||
} );
|
||||
|
Reference in New Issue
Block a user