Fixed coding standards and minify

This commit is contained in:
Claudio Sanches 2017-10-25 19:45:46 -02:00
parent ec1a70ad14
commit f38a7d5cc0
2 changed files with 3 additions and 3 deletions

View File

@ -550,8 +550,8 @@ jQuery( function ( $ ) {
security : woocommerce_admin_meta_boxes.order_item_nonce
};
// Check if items have changed, if so pass them through so we can save them before deleting.
if( $( 'button.cancel-action' ).attr( 'data-reload' ) == "true" ) {
data['items'] = $( 'table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]' ).serialize();
if ( 'true' === $( 'button.cancel-action' ).attr( 'data-reload' ) ) {
data.items = $( 'table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]' ).serialize();
}
$.ajax({

File diff suppressed because one or more lines are too long