HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/intranet.kauko.lt/wp-content/plugins/tablepress/admin/js/common.js
/**
 * JavaScript code for all TablePress admin screens.
 *
 * @package TablePress
 * @subpackage Views JavaScript
 * @author Tobias Bäthge
 * @since 1.0.0
 */

/* globals postboxes, pagenow, jQuery */

/**
 * 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 );

/**
 * Turn off the collapsing feature of postboxes when directly clicking on the postbox header bar.
 * This causes confusion to many users that accidentally click this.
 * After this, the postboxes can only be collapsed/expanded via the arrow icon in their header bar.
 *
 * @since 2.1.0
 */
jQuery( '.postbox .hndle' ).off( 'click.postboxes', postboxes.handle_click );