Skip to content

Commit 99fe101

Browse files
authored
Fix UPS connect redirect prompt (#2186)
1 parent 7db075f commit 99fe101

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
*** WooCommerce Services Changelog ***
22

3+
= 1.24.4 - 2020-XX-XX =
4+
* Fix - UPS connect redirect prompt
5+
36
= 1.24.3 - 2020-XX-XX =
47
* Fix - Asset paths incompatible with some hosts.
58
* Fix - Select all posts checkbox not working.

client/extensions/woocommerce/woocommerce-services/views/carrier-accounts/settings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const CarrierAccountSettings = ( props ) => {
5656
if ( isConnectionSuccess ) {
5757
const url = new URL( window.location.href );
5858
url.searchParams.delete( 'carrier' );
59+
window.onbeforeunload = null;
5960
window.location.href = url.href;
6061
}
6162

0 commit comments

Comments
 (0)