fixed refunds cancel button action
This commit is contained in:
parent
5e663a7fa8
commit
acaee93236
|
@ -310,7 +310,7 @@ jQuery( function ( $ ) {
|
|||
$( 'div.wc-order-refund-items' ).slideDown();
|
||||
$( 'div.wc-order-bulk-actions' ).slideUp();
|
||||
$( 'div.wc-order-totals-items' ).slideUp();
|
||||
$( '#woocommerce-order-items .refund' ).show();
|
||||
$( '#woocommerce-order-items div.refund' ).show();
|
||||
$( '.wc-order-edit-line-item' ).hide();
|
||||
|
||||
return false;
|
||||
|
@ -319,7 +319,7 @@ jQuery( function ( $ ) {
|
|||
$( this ).closest( 'div.wc-order-data-row' ).slideUp();
|
||||
$( 'div.wc-order-bulk-actions' ).slideDown();
|
||||
$( 'div.wc-order-totals-items' ).slideDown();
|
||||
$( '#woocommerce-order-items .refund' ).hide();
|
||||
$( '#woocommerce-order-items div.refund' ).hide();
|
||||
$( '.wc-order-edit-line-item' ).show();
|
||||
|
||||
// Reload the items
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue