文件操作 - global.js
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/stanleysteamer/public_html/wp-content/plugins/mainwp-child-reports/ui/js/global.js
编辑文件内容
/* globals wp_mainwp_stream_global */ /* exported wp_mainwp_stream_regenerate_alt_rows */ jQuery( function( $ ) { // List table actions, ignores filtering $( '.actions :submit:not([name="filter_action"])' ).on( 'click', function( e ) { if ( $( 'table.widefat tbody :checkbox:checked' ).length > wp_mainwp_stream_global.bulk_actions.threshold ) { warning_message( e ); } } ); // Post type empty trash $( '#delete_all' ).on( 'click', function( e ) { var trash_count = parseInt( $( 'ul.subsubsub li.trash .count' ).text().replace( /\D/g, '' ), 10 ); if ( trash_count > wp_mainwp_stream_global.bulk_actions.threshold ) { warning_message( e ); } } ); function warning_message( e ) { if ( ! window.confirm( wp_mainwp_stream_global.bulk_actions.i18n.confirm_action ) ) { e.preventDefault(); } } } ); // Regenerate alternating row classes var wp_mainwp_stream_regenerate_alt_rows = function( $rows ) { if ( ! $rows.length ) { return false; } $rows.removeClass( 'alternate' ); $rows.each( function( index ) { jQuery( this ).addClass( index % 2 ? '' : 'alternate' ); } ); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件