Trigger change() when refilling payment details
This commit is contained in:
parent
31f80913b1
commit
273952085c
|
@ -324,9 +324,9 @@ jQuery( function( $ ) {
|
|||
|
||||
if ( ID ) {
|
||||
if ( 'checkbox' === $( this ).attr( 'type' ) && paymentDetails[ ID ] ) {
|
||||
$( this ).prop( 'checked', true );
|
||||
$( this ).prop( 'checked', true ).change();
|
||||
} else {
|
||||
$( this ).val( paymentDetails[ ID ] );
|
||||
$( this ).val( paymentDetails[ ID ] ).change();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue