diff --git a/assets/js/admin/meta-boxes-order.js b/assets/js/admin/meta-boxes-order.js index 74eb0bd9e60..750558aa44b 100644 --- a/assets/js/admin/meta-boxes-order.js +++ b/assets/js/admin/meta-boxes-order.js @@ -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( '' ); diff --git a/includes/admin/meta-boxes/views/html-order-notes.php b/includes/admin/meta-boxes/views/html-order-notes.php index 50db87bcea2..906c3d700c9 100644 --- a/includes/admin/meta-boxes/views/html-order-notes.php +++ b/includes/admin/meta-boxes/views/html-order-notes.php @@ -41,7 +41,7 @@ defined( 'ABSPATH' ) || exit; } } else { ?> -
+