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