change algo get_address_point_ajax
This commit is contained in:
SDE
2023-07-21 16:35:53 +03:00
parent 57780ef93e
commit c7fe7a1904
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<div onclick="selectItemAddrPoint({{ id }}, '{{ name }}', '{{ ctrl_name }}')" class="autocomplete-result" data-index="{{ index }}">
<div><b>{{ iata_code }}</b> - {{ name }}</div>
<div onclick='selectItemAddrPoint({{ id }}, "{{ airport_fullname }}", "{{ ctrl_name }}")' class="autocomplete-result" data-index="{{ index }}">
<div>{{ airport_fullname_html|safe }}</div>
<div class="autocomplete-location">{{ city__name }}, {{ city__country__name }}</div>
</div>