From 2bb35de56ff0fddd2682b2891ffa30601259fe7c Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Fri, 5 Feb 2021 23:21:51 +0000 Subject: [PATCH] Fix for ukpostcodes extension 1.11 to fill in city --- js/civipostcode_component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/civipostcode_component.js b/js/civipostcode_component.js index 2bd6fbe..73c0735 100644 --- a/js/civipostcode_component.js +++ b/js/civipostcode_component.js @@ -68,7 +68,7 @@ jQuery(document).ready(function ($) { $('[id *="' + AddstreetAddressElement + '"]').val(address.supplemental_address_1); $('[id *="' + AddstreetAddressElement1 + '"]').val(address.supplemental_address_2); $('[id *="' + AddstreetAddressElement2 + '"]').val(address.supplemental_address_3); - $('[id *="' + cityElement + '"]').val(address.town); + $('[id *="' + cityElement + '"]').val(address.city); $('[id *="' + postalCodeElement + '"]').val(address.postcode); $('[id *="' + countyElement + '"]').val(address.state_province_abbreviation); }