PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.1
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.1
6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 All 155 releases
← All changes | modules/logs/classes/class-log-events-list-table.php +5 -2 6.1.8 → 6.2.1 View file →
@@ -1040,8 +1040,9 @@
1040 1040 ?>
1041 1041 </div>
1042 1042 <?php
1043 1043 }
1044 + if ( 'widget-overview' !== $this->table_id_prefix ) {
1044 1045 ?>
1045 1046 <div id="mainwp-loading-sites">
1046 1047 <div class="ui active page dimmer">
1047 1048 <div class="ui double text loader"><?php esc_html_e( 'Loading...', 'mainwp' ); ?></div>
@@ -1047,9 +1048,9 @@
1047 1048 <div class="ui double text loader"><?php esc_html_e( 'Loading...', 'mainwp' ); ?></div>
1048 1049 </div>
1049 1050 </div>
1050 1051 <?php
1051 -
1052 + }
1052 1053 $table_features = array(
1053 1054 'searching' => 'true',
1054 1055 'paging' => 'true',
1055 1056 'pagingType' => 'full_numbers',
@@ -1101,9 +1102,11 @@
1101 1102 nextButton.innerHTML = '<?php echo esc_js( __( 'More', 'mainwp' ) ); ?>';
1102 1103
1103 1104 //jQuery( '#mainwp-sites-table-loader' ).hide();
1104 1105 $module_log_table = jQuery( manage_tbl_id ).on( 'processing.dt', function ( e, settings, processing ) {
1105 - jQuery( '#mainwp-loading-sites' ).css( 'display', processing ? 'block' : 'none' );
1106 + if(jQuery( '#mainwp-loading-sites' ).length){
1107 + jQuery( '#mainwp-loading-sites' ).css( 'display', processing ? 'block' : 'none' );
1108 + }
1106 1109 if (!processing) {
1107 1110 let tb = jQuery( manage_tbl_id );
1108 1111 tb.find( 'th[cell-cls]' ).each( function(){
1109 1112 let ceIdx = this.cellIndex;