Skip to content

Commit e9c37ac

Browse files
committed
20.5.1 MNB-1966 Fix for Quebec not populating and added CSP whitelist
1 parent 5188f7d commit e9c37ac

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

CHANGELOG-PUBLIC.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ RIV-534 support Enhanced Checkout
6565
MNB-1843 User submitted enhancement to refactor add new address UI. MNB-1789 Fix for street address becoming uneditable on Google API error
6666

6767

68+
## 20.5.1 (2022-01-17)
69+
MNB-1966 Fix for Quebec not populating and added CSP whitelist
70+
71+

CHANGELOG.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ RIV-534 support Enhanced Checkout
6565
MNB-1843 User submitted enhancement to refactor add new address UI. MNB-1789 Fix for street address becoming uneditable on Google API error
6666

6767

68+
## 20.5.1 (2022-01-17)
69+
MNB-1966 Fix for Quebec not populating and added CSP whitelist
70+
71+

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "shipperhq/module-address-autocomplete",
33
"description": "ShipperHQ Address Autocomplete Tool",
44
"type": "magento2-module",
5-
"version": "20.5.0",
5+
"version": "20.5.1",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"

src/etc/csp_whitelist.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Shipper HQ
4+
~ Thanks to https://github.com/ProxiBlue for providing this file
5+
~ @category ShipperHQ
6+
~ @package shq
7+
~ @copyright Copyright (c) 2022 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com)
8+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
9+
~ @author ShipperHQ Team [email protected]
10+
-->
11+
212
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
313
<policies>
414
<policy id="script-src">

src/view/frontend/web/js/autocomplete.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ define([
168168
if (region == 'Québec') {
169169
region = 'Quebec'
170170
}
171+
171172
if (uiRegistry.get('checkout.steps.shipping-step.shippingAddress.shipping-address-fieldset.region_id')) {
172173
var regionDomId = uiRegistry.get('checkout.steps.shipping-step.shippingAddress.shipping-address-fieldset.region_id').uid;
173174
if ($('#'+regionDomId).length) {

0 commit comments

Comments
 (0)