Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -65,6 +65,7 @@ function open_chat (user_id){
|
||||
}
|
||||
|
||||
function changeWidthEL (el){
|
||||
|
||||
let parent = el.offsetParent
|
||||
let loader_place = parent.querySelector('.abbreviation_airport_in_search')
|
||||
if (loader_place.innerHTML){
|
||||
|
||||
@@ -231,7 +231,7 @@ function confirmRemove(el) {
|
||||
}
|
||||
|
||||
function loader_place_ins_boris (el,type=null){
|
||||
if (el){
|
||||
if (el && !window.location.href.includes("profile")){
|
||||
|
||||
let loader_place = document.querySelector(".abbreviation_airport_in_search")
|
||||
let cur_loader_place = el.nextElementSibling
|
||||
@@ -295,7 +295,12 @@ function searchTown(el){
|
||||
success: function(data){
|
||||
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
loader_place_ins_boris(el,"el")
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = '10000000000'
|
||||
if (document.querySelector(".container_form_search_carrier")){
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = '10000000000'
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
return insertSearchList(data, el.name + '_list');
|
||||
middleWareJS()
|
||||
@@ -329,7 +334,10 @@ function selectItemAddrPoint(id, name, ctrl_name,){
|
||||
tap_cont.value = id;
|
||||
changeWidthEL(tap_txt_cont)
|
||||
input_list.classList.remove('show');
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = 'unset'
|
||||
if (document.querySelector(".container_form_search_carrier")){
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = 'unset'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -373,9 +381,11 @@ function onblurInputField(event,el){
|
||||
let parent_event = $(event.explicitOriginalTarget).parents('.input_list' );
|
||||
if(!parent_event || parent_event[0] !== search_list){
|
||||
|
||||
search_list.classList.remove('show')
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = 'unset'
|
||||
}
|
||||
search_list.classList.remove('show')
|
||||
if (document.querySelector(".container_form_search_carrier")){
|
||||
document.querySelector(".container_form_search_carrier").style.zIndex = '10000000000'
|
||||
}
|
||||
}
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user