1.2.5 new init for calendar in create_route TRI-247
This commit is contained in:
@@ -361,8 +361,13 @@ function selectItemAddrPoint(id, name, ctrl_name, city_DT){
|
|||||||
let tap_cont = document.querySelector("#id_" + ctrl_name.slice(0, -4));
|
let tap_cont = document.querySelector("#id_" + ctrl_name.slice(0, -4));
|
||||||
tap_cont.value = id;
|
tap_cont.value = id;
|
||||||
|
|
||||||
if (local_city_time){
|
if (local_city_time && ctrl_name === "from_address_point_txt"){
|
||||||
init_departure_DT()
|
init_departure_DT()
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (local_city_time && ctrl_name === "to_address_point_txt"){
|
||||||
|
|
||||||
init_arrival_DT()
|
init_arrival_DT()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user