Merged in feature/from-pantheon (pull request #16)

code from pantheon

* code from pantheon
This commit is contained in:
Tony Volpe
2024-01-10 17:03:02 +00:00
parent 054b4fffc9
commit 4eb982d7a8
16492 changed files with 3475854 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/* eslint-env jquery */
/**
* File setup-wizard.js
*
* Handles Color Picker
*
* @package
*/
( function ( $ ) {
jQuery( document ).ready( function () {
$( document ).on(
'click',
'.aiosrs-pro-schema-temp-wrap',
function ( e ) {
e.preventDefault();
$( '.aiosrs-pro-schema-temp-wrap' ).removeClass( 'selected' );
$( '.aiosrs-pro-setup-actions' )
.find( '.button-next' )
.removeAttr( 'disabled' );
$( this ).addClass( 'selected' );
const type = $( this ).data( 'schema-type' ),
title = $( this ).data( 'schema-title' );
$( document ).find( '.bsf-aiosrs-schema-type' ).val( type );
$( document ).find( '.bsf-aiosrs-schema-title' ).val( title );
}
);
} );
} )( jQuery );