Merge pull request #29282 from hsingyuc/fix/29261
Trigger country field change on address change click
This commit is contained in:
commit
b04e08fb52
|
@ -180,6 +180,7 @@ jQuery( function( $ ) {
|
|||
*/
|
||||
toggle_shipping: function() {
|
||||
$( '.shipping-calculator-form' ).slideToggle( 'slow' );
|
||||
$( 'select.country_to_state, input.country_to_state' ).trigger( 'change' );
|
||||
$( document.body ).trigger( 'country_to_state_changed' ); // Trigger select2 to load.
|
||||
return false;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue