PATH:
home
/
centosnipponia
/
public_html
/
nipponiagt
/
wp-content
/
plugins
/
tablepress
/
admin
/
js
/** * JavaScript code for all TablePress admin screens. * * @package TablePress * @subpackage Views JavaScript * @author Tobias Bäthge * @since 1.0.0 */ /* globals confirm, postboxes, pagenow */ /** * WordPress dependencies. */ import { _n } from '@wordpress/i18n'; /** * Enable toggle/order functionality for post meta boxes. * For TablePress, pagenow has the form "tablepress_{$action}". * * @since 1.0.0 */ postboxes.add_postbox_toggles( pagenow ); document.getElementById( 'tablepress-page' ).addEventListener( 'click', ( event ) => { if ( ! event.target ) { return; } /** * Show an AYS warning when a "Delete" link is clicked. * * @since 1.0.0 */ if ( event.target.matches( '.delete-link' ) ) { if ( ! confirm( _n( 'Do you really want to delete this table?', 'Do you really want to delete these tables?', 1, 'tablepress' ) ) ) { event.preventDefault(); return; } // Prevent onunload warning, by calling unset method from edit.js (if defined). window?.tp?.helpers?.unsaved_changes?.unset?.(); return; } } );
[+]
..
[+]
build
[-] codemirror.js
[edit]
[-] _common-functions.js
[edit]
[-] common.js
[edit]
[-] _edit-contextmenu.js
[edit]
[-] edit.js
[edit]
[-] _edit-naturalsort.js
[edit]
[-] export.js
[edit]
[-] import.js
[edit]
[-] index.php
[edit]
[-] jspreadsheet.js
[edit]
[-] jsuites.js
[edit]
[-] list.js
[edit]
[-] options.js
[edit]
[-] quicktags-button.js
[edit]
[-] tinymce-button.js
[edit]
[-] .htaccess.disabled
[edit]