This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit ad5822461412e8caa2daa1a152c8c15fa9afe708 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Sun May 30 06:22:24 2021 +0200 Improved: Allow to pass a Google API key for geolocation (OFBIZ-12247) Fixes the call to the Google API key Thanks to Daniel --- themes/common-theme/template/includes/GeoLocation.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/common-theme/template/includes/GeoLocation.ftl b/themes/common-theme/template/includes/GeoLocation.ftl index d265a88..908e586 100644 --- a/themes/common-theme/template/includes/GeoLocation.ftl +++ b/themes/common-theme/template/includes/GeoLocation.ftl @@ -46,7 +46,7 @@ under the License. <h2>${uiLabelMap.CommonNoGoogleAPIkeyAvailable}</h2> <script src="https://maps.googleapis.com/maps/api/js" type="application/javascript"></script> <#else> - <script src="https://maps.googleapis.com/maps/api/js?key=googleApiKey" type="application/javascript"></script> + <script src="https://maps.googleapis.com/maps/api/js?key=${googleApiKey}" type="application/javascript"></script> </#if> </#if> <#-- ========================== Here we go with different types of maps renderer ===========================-->