GhostManSec
Server: Apache
System: Linux webm019.cluster130.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: exhehbu (1008962)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/exhehbu/www/wp-content/plugins/reusable-content-blocks/1.1.3/includes/js/reusablecb-widget.js
jQuery( document ).ready( function ( $ ) {
								
	$( document ).on( 'change', '.reusecb_data_source', function() {																	
		if ( $( this ).val() == 'db_other' ) {
			$( '.dynamic_block' ).hide();
			$( '.db_other' ).show();
			$( '.reusecb_other_id' ).focus();			
		} else {
			$( '.dynamic_block' ).show();
			$( '.db_other' ).hide();
		}
	});
	
	$( document ).on( 'widget-updated', function () {
		$( '.reusecb_data_source' ).change();
	})
	
	$( '.reusecb_data_source' ).change();
	
});