Merge pull request #19066 from woocommerce/fix/inline-edit-tooltips
Make the init tooltips after inline editing more specific
This commit is contained in:
commit
3b364ff1ab
|
@ -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({
|
||||
|
|
|
@ -160,10 +160,6 @@ jQuery( function ( $ ) {
|
|||
});
|
||||
|
||||
// Tooltips
|
||||
$( document ).ajaxComplete( function() {
|
||||
$( document.body ).trigger( 'init_tooltips' );
|
||||
} );
|
||||
|
||||
$( document.body ).trigger( 'init_tooltips' );
|
||||
|
||||
// wc_input_table tables
|
||||
|
|
Loading…
Reference in New Issue