0.0.170
This commit is contained in:
@@ -678,6 +678,8 @@
|
||||
margin-top: 60px;
|
||||
margin-bottom: 40px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
padding: 13px;
|
||||
}
|
||||
|
||||
.container_form_search_carrier > form{
|
||||
@@ -815,6 +817,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
margin-top: 0;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.cont-el-form-search-carrier.last > select:focus-visible{
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
function filters_func_find_route_main (){
|
||||
let urls_for_els = {
|
||||
'road_url':''
|
||||
}
|
||||
function filters_func_find_route_main (el){
|
||||
event.preventDefault()
|
||||
let form = el.form
|
||||
let formData = new FormData(form)
|
||||
$.ajax({
|
||||
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
|
||||
url: '/ru/routes/find_route/',
|
||||
type: "POST",
|
||||
// async: true,
|
||||
cache: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
// enctype: 'json',
|
||||
data: formData,
|
||||
success: function(data){
|
||||
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user