Added data to be passed in `updated_checkout` event handler.

Resolves #11872.
This commit is contained in:
Akeda Bagus 2016-09-08 16:17:37 +07:00
parent c96a3ea395
commit e213e1cd00
2 changed files with 2 additions and 2 deletions

View File

@ -332,7 +332,7 @@ jQuery( function( $ ) {
wc_checkout_form.init_payment_methods( selectedPaymentMethod );
// Fire updated_checkout e
$( document.body ).trigger( 'updated_checkout' );
$( document.body ).trigger( 'updated_checkout', [ data ] );
}
});

File diff suppressed because one or more lines are too long