Shipping Settings: Refresh shipping methods on every addition (#41834)

This commit is contained in:
Paul Sealock 2023-12-03 14:14:53 +13:00 committed by GitHub
commit 3e139f3c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Comment: Fixes unreleased feature, no changelog required.

View File

@ -569,6 +569,9 @@
status : 'new'
}
});
} else {
shippingMethodView.model.trigger( 'change:methods' );
shippingMethodView.model.trigger( 'saved:methods' );
}
$( document.body ).trigger( 'init_tooltips' );