Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,25 @@
|
||||
jQuery( function ( $ )
|
||||
{
|
||||
'use strict';
|
||||
|
||||
// Reorder images
|
||||
$( '.mashsb-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 );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} );
|
||||
Reference in new issue
Block a user