diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 23ee4dd..6e147b5 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -325,9 +325,10 @@ function selectItemAddrPoint(id, name, ctrl_name,){ let input_list = document.getElementsByName(ctrl_name + '_list')[0]; let tap_txt_cont = document.querySelector("#id_" + ctrl_name); tap_txt_cont.value = name; + tap_txt_cont.setAttribute('title',name) let tap_cont = document.querySelector("#id_" + ctrl_name.slice(0, -4)); tap_cont.value = id; - + changeWidthEL(tap_txt_cont) input_list.classList.remove('show'); } diff --git a/templates/forms/f_find_route_form_main_find_routes.html b/templates/forms/f_find_route_form_main_find_routes.html index dd3862d..49bb34e 100644 --- a/templates/forms/f_find_route_form_main_find_routes.html +++ b/templates/forms/f_find_route_form_main_find_routes.html @@ -69,6 +69,7 @@ {# {% if form.fields.to_address_point.required %} required{% endif %}#} id="id_to_address_point_txt" class="to_address_point_txt find_route" + title="{{ route_form.initial.to_address_point_txt}}" {% if route_form.initial.to_address_point_txt %}value="{{ route_form.initial.to_address_point_txt}}"{% endif %}/>