commit
41a7caae05
|
@ -1315,6 +1315,7 @@ jQuery( function ( $ ) {
|
|||
};
|
||||
|
||||
$.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
|
||||
$( 'ul.order_notes .no-items' ).remove();
|
||||
$( 'ul.order_notes' ).prepend( response );
|
||||
$( '#woocommerce-order-notes' ).unblock();
|
||||
$( '#add_order_note' ).val( '' );
|
||||
|
|
|
@ -41,7 +41,7 @@ defined( 'ABSPATH' ) || exit;
|
|||
}
|
||||
} else {
|
||||
?>
|
||||
<li><?php esc_html_e( 'There are no notes yet.', 'woocommerce' ); ?></li>
|
||||
<li class="no-items"><?php esc_html_e( 'There are no notes yet.', 'woocommerce' ); ?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue