Refresh shipping methods when a method without configuration options is added

This commit is contained in:
paul sealock 2023-12-01 17:16:29 +13:00
parent 6b77f71ea7
commit a10d3c545f
1 changed files with 3 additions and 0 deletions

View File

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