????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/home/tempvsty/dchs84reunion.com/wp-content/plugins/meta-box/js/ |
Upload File : |
( function ( $, rwmb ) {
'use strict';
function addNew() {
const $this = $( this );
$this.rwmbModal( {
removeElement: '#editor .interface-interface-skeleton__footer, .edit-post-fullscreen-mode-close',
callback: function ( $modal, $modalContent ) {
if ( !this.isBlockEditor ) {
this.$objectId = $modalContent.find( '#post_ID' ).val();
return;
}
setTimeout( () => {
if ( $modalContent.find( '.edit-post-post-url .edit-post-post-url__toggle' ).length > 0 ) {
let url = $modalContent.find( '.edit-post-post-url .edit-post-post-url__toggle' ).text();
this.$objectId = url.substr( url.indexOf( "=" ) + 1 );
}
}, 2000 );
setTimeout( () => {
const $ui = $modalContent.find( '.interface-interface-skeleton' );
$ui.css( {
left: 0,
top: 0
} );
$ui.find( '.interface-interface-skeleton__editor' ).css( 'overflow', 'scroll' );
}, 500 );
},
closeModalCallback: function ( $modal, $input ) {
this.$objectDisplay = !this.isBlockEditor ? $modal.find( '#title' ).val() : $modal.find( '.interface-interface-skeleton__editor h1.editor-post-title__input' ).text().trim();
}
} );
}
function init( e ) {
const wrapper = e.target || e;
$( wrapper ).find( '.rwmb-post-add-button' ).each( addNew );
}
rwmb.$document
.on( 'mb_ready', init )
.on( 'clone', function ( e ) {
init( $( e.target ).parent() );
} );
} )( jQuery, rwmb );