0.0.96
This commit is contained in:
@@ -167,6 +167,8 @@ function confirmRemove(el) {
|
||||
|
||||
function searchTown(el){
|
||||
|
||||
document.getElementById('id_from_address_point_txt').style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
|
||||
document.getElementById('id_to_address_point_txt').style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
|
||||
|
||||
if(el.value.length>=3){
|
||||
let timer = null
|
||||
@@ -193,8 +195,14 @@ function searchTown(el){
|
||||
// enctype: 'json',
|
||||
data: JSON.stringify(get_address_point),
|
||||
success: function(data){
|
||||
getNewMessageSession()
|
||||
return insertSearchList(data, el.name + '_list')
|
||||
document.getElementById('id_from_address_point_txt').style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
document.getElementById('id_to_address_point_txt').style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
|
||||
|
||||
|
||||
getNewMessageSession()
|
||||
|
||||
return insertSearchList(data, el.name + '_list');
|
||||
|
||||
},
|
||||
error: function (data){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user