HEX
Server: Apache
System: Linux webm006.cluster128.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: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/foar/wp-content/themes/flexfit/framework/functions/meta-box/js/taxonomy.js
jQuery( document ).ready( function($)
{
	$( '.rw-taxonomy-tree input:checkbox' ).change( function()
	{
		var $this = $( this ),
			$childList = $this.parent().siblings( '.rw-taxonomy-tree' );
		if ( $this.is( ':checked' ) )
			$childList.removeClass( 'hidden' );
		else
		{
			$('input', $childList).removeAttr('checked');
			$childList.addClass( 'hidden' );
		}
	} );
	
	$( '.rw-taxonomy-tree select' ).change( function()
	{
		var $this = $( this ),
			$childList = $this.parent().find( 'div.rw-taxonomy-tree' ),
			$value = $this.val();
		$childList.removeClass('active').addClass('disabled').find('select').each(function(){
			$(this).val($('options:first', this).val()).attr("disabled", "disabled")
		});
		$childList.filter('#rwmb-taxonomy-' + $value).removeClass('disabled').addClass('active').children('select').removeAttr('disabled');
		
	} );
} );