fixed refunds cancel button action

This commit is contained in:
claudiosmweb 2014-07-25 13:32:16 -03:00
parent 5e663a7fa8
commit acaee93236
5 changed files with 12 additions and 12 deletions

View File

@ -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