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,19 @@
|
||||
jQuery( function( $ )
|
||||
{
|
||||
'use strict';
|
||||
|
||||
$( document ).ajaxSend( function( e, xhr, s )
|
||||
{
|
||||
if ( typeof s.data !== 'undefined' && -1 !== s.data.indexOf( 'action=autosave' ) )
|
||||
{
|
||||
$( '.mashsb-rwmb-meta-box').each( function()
|
||||
{
|
||||
var $meta_box = $( this );
|
||||
if ( $meta_box.data( 'autosave' ) === true )
|
||||
{
|
||||
s.data += '&' + $meta_box.find( ':input' ).serialize();
|
||||
}
|
||||
} );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
Reference in new issue
Block a user