MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/rit-core/vendor/meta-box/js/image.js
jQuery( function ( $ )
{
	'use strict';

	// Reorder images
	$( '.rwmb-images' ).each( function ()
	{
		var $this = $( this ),
			data = {
				action     : 'rwmb_reorder_images',
				_ajax_nonce: $this.data( 'reorder_nonce' ),
				post_id    : $( '#post_ID' ).val(),
				field_id   : $this.data( 'field_id' )
			};
		$this.sortable( {
			placeholder: 'ui-state-highlight',
			items      : 'li',
			update     : function ()
			{
				data.order = $this.sortable( 'serialize' );
				$.post( ajaxurl, data );
			}
		} );
	} );
} );