0.0.302 clear ID of hide inputs in create/find routes
This commit is contained in:
@@ -221,6 +221,7 @@
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
float: left;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.message-sprt-inf{
|
||||
|
||||
@@ -1895,6 +1895,7 @@ button#edit_route {
|
||||
position: absolute;
|
||||
height: -webkit-fill-available;
|
||||
width: -webkit-fill-available;
|
||||
width: -moz-available;
|
||||
}
|
||||
|
||||
#error_footer{
|
||||
|
||||
@@ -411,6 +411,19 @@ function onblurInputField(event,el){
|
||||
// }
|
||||
}
|
||||
|
||||
function clearID(el) {
|
||||
el.select();
|
||||
|
||||
if(el.id === 'id_from_address_point_txt'){
|
||||
document.getElementById('id_from_address_point').value = ''
|
||||
} else if(el.id === 'id_to_address_point_txt'){
|
||||
document.getElementById('id_to_address_point').value = ''
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// function hideErrorMsg(el) {
|
||||
// let hide_element = document.querySelector()
|
||||
|
||||
Reference in New Issue
Block a user