misc: prefill country in autocomplete address fields (#49238)

This commit is contained in:
Frédéric Péters 2020-12-08 12:19:42 +01:00
parent 8a798d53fd
commit b58c13e6c3
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ function geoloc_prefill(element_type, element_value)
geoloc_prefill('road', road);
geoloc_prefill('city', city);
geoloc_prefill('postcode', postcode);
geoloc_prefill('country', address.country);
}
});
if ($('.qommon-map').length == 0 && $('.JsonpSingleSelectWidget.template-address').length == 0) {