0.0.73 upd func selectItemAddrPoint
This commit is contained in:
@@ -75,7 +75,8 @@
|
|||||||
<input
|
<input
|
||||||
oninput="searchTown(this)"
|
oninput="searchTown(this)"
|
||||||
onclick="showSearchList(this)"
|
onclick="showSearchList(this)"
|
||||||
onblur="setTimeout(()=>onblurInputField(event, this), 200)"
|
{# onblur="setTimeout(()=>onblurInputField(event, this), 200)"#}
|
||||||
|
onblur="onblurInputField(event, this)"
|
||||||
onFocus="this.select()"
|
onFocus="this.select()"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
type="text"
|
type="text"
|
||||||
@@ -107,7 +108,9 @@
|
|||||||
<input
|
<input
|
||||||
oninput="searchTown(this)"
|
oninput="searchTown(this)"
|
||||||
onclick="showSearchList(this)"
|
onclick="showSearchList(this)"
|
||||||
onblur="setTimeout(()=>onblurInputField(event, this), 200)"
|
{# onblur="setTimeout(()=>onblurInputField(event, this), 200)"#}
|
||||||
|
onblur="onblurInputField(event, this)"
|
||||||
|
|
||||||
onFocus="this.select()"
|
onFocus="this.select()"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
@@ -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 %}
|
{% if airport_fullname %}<div>{{ airport_fullname|safe }}</div>{% endif %}
|
||||||
<div class="autocomplete-location">{{ country_name }} / {{ city_name }}</div>
|
<div class="autocomplete-location">{{ country_name }} / {{ city_name }}</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user