Bug 26556: (bug 25070 follow-up) Fix typo data_addressfield in address includes
Selecting "main address" city or "alternate address" city does not trigger the automatic population of values to the city, state, and zip fields anymore. It woks for "alternate contact". Test plan : 1) Create some cities with all datas : city, state, zip code and country 2) Open patron creation form 3) On "main address", select a city in combobox 4) Check city, state, zip code and country are filled 5) Same with "alternate address" Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
8dca36661d
commit
a0e4e3b5f8
|
|
@ -150,7 +150,7 @@
|
|||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
|
||||
[% IF cities.count %]
|
||||
or choose
|
||||
<select class="select_city" data_addressfield="B_" name="select_city">
|
||||
<select class="select_city" data-addressfield="B_" name="select_city">
|
||||
<option value="|||"></option>
|
||||
[% FOREACH c IN cities %]
|
||||
[% IF c.city_name == patron.B_city && c.city_state == patron.B_state && c.city_zipcode == patron.B_zipcode %]
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@
|
|||
<input type="text" id="city" name="city" size="20" value="[% patron.city | html %]" />
|
||||
[% IF cities.count %]
|
||||
or choose
|
||||
<select class="select_city" data_addressfield="" name="select_city">
|
||||
<select class="select_city" data-addressfield="" name="select_city">
|
||||
<option value="|||"></option>
|
||||
[% FOREACH c IN cities %]
|
||||
[% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue