misc: fix address parts fields prefill (#75938)
gitea/wcs/pipeline/head This commit looks good
Details
gitea/wcs/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7547925c5c
commit
d12bd6ed9b
|
@ -82,12 +82,12 @@ function init_sync_from_template_address() {
|
|||
} else {
|
||||
number_and_street = road;
|
||||
}
|
||||
geoloc_prefill('number-and-street', number_and_street, widget_name);
|
||||
geoloc_prefill('house', house_number, widget_name);
|
||||
geoloc_prefill('road', road, widget_name);
|
||||
geoloc_prefill('city', city, widget_name);
|
||||
geoloc_prefill('postcode', postcode, widget_name);
|
||||
geoloc_prefill('country', address.country, widget_name);
|
||||
geoloc_prefill('number-and-street', [number_and_street], widget_name);
|
||||
geoloc_prefill('house', [house_number], widget_name);
|
||||
geoloc_prefill('road', [road], widget_name);
|
||||
geoloc_prefill('city', [city], widget_name);
|
||||
geoloc_prefill('postcode', [postcode], widget_name);
|
||||
geoloc_prefill('country', [address.country], widget_name);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue