diff --git a/assets/js/admin/term-ordering.js b/assets/js/admin/term-ordering.js index 706972fcef9..3110a9b2217 100644 --- a/assets/js/admin/term-ordering.js +++ b/assets/js/admin/term-ordering.js @@ -15,8 +15,11 @@ jQuery( function( $ ) { $( table_selector ).find( '.column-handle' ).show(); - $( document ).ajaxComplete( function() { - $( table_selector ).find( '.column-handle' ).show(); + $( document ).ajaxComplete( function( event, request, options ) { + if ( request && 4 === request.readyState && 200 === request.status && options.data && 0 <= options.data.indexOf( '_inline_edit' ) ) { + $( table_selector ).find( '.column-handle' ).show(); + $( document.body ).trigger( 'init_tooltips' ); + } } ); $( table_selector ).sortable({ diff --git a/assets/js/admin/woocommerce_admin.js b/assets/js/admin/woocommerce_admin.js index e180631b633..01a7593e9d5 100644 --- a/assets/js/admin/woocommerce_admin.js +++ b/assets/js/admin/woocommerce_admin.js @@ -160,10 +160,6 @@ jQuery( function ( $ ) { }); // Tooltips - $( document ).ajaxComplete( function() { - $( document.body ).trigger( 'init_tooltips' ); - } ); - $( document.body ).trigger( 'init_tooltips' ); // wc_input_table tables