2 Commits

Author SHA1 Message Date
SDE
a06e9c3435 Merge remote-tracking branch 'origin/main' 2023-08-06 17:14:03 +03:00
SDE
ba068613fa 0.0.73 upd func selectItemAddrPoint 2023-08-06 17:13:48 +03:00
2 changed files with 6 additions and 3 deletions

View File

@@ -75,7 +75,8 @@
<input
oninput="searchTown(this)"
onclick="showSearchList(this)"
onblur="setTimeout(()=>onblurInputField(event, this), 200)"
{# onblur="setTimeout(()=>onblurInputField(event, this), 200)"#}
onblur="onblurInputField(event, this)"
onFocus="this.select()"
autocomplete="off"
type="text"
@@ -107,7 +108,9 @@
<input
oninput="searchTown(this)"
onclick="showSearchList(this)"
onblur="setTimeout(()=>onblurInputField(event, this), 200)"
{# onblur="setTimeout(()=>onblurInputField(event, this), 200)"#}
onblur="onblurInputField(event, this)"
onFocus="this.select()"
autocomplete="off"
type="text"

View File

@@ -1,4 +1,4 @@
<div onclick='selectItemAddrPoint({{ id }}, "{{ fullname }}", "{{ ctrl_name }}")' class="autocomplete-result" data-index="{{ index }}">
<div onmousedown='selectItemAddrPoint({{ id }}, "{{ fullname }}", "{{ ctrl_name }}")' class="autocomplete-result" data-index="{{ index }}">
{% if airport_fullname %}<div>{{ airport_fullname|safe }}</div>{% endif %}
<div class="autocomplete-location">{{ country_name }} / {{ city_name }}</div>
</div>