diff --git a/static/js/filters_functions_find_route.js b/static/js/filters_functions_find_route.js index 3069713..517e589 100644 --- a/static/js/filters_functions_find_route.js +++ b/static/js/filters_functions_find_route.js @@ -13,7 +13,10 @@ function filters_func_find_route_main (el){ // enctype: 'json', data: formData, success: function(data){ - + document.querySelector(".block-finded-routes").innerHTML = data.html }, + errors: function (data){ + + } }); } \ No newline at end of file diff --git a/templates/blocks/b_search_routes.html b/templates/blocks/b_search_routes.html index 67f7670..791e3fd 100644 --- a/templates/blocks/b_search_routes.html +++ b/templates/blocks/b_search_routes.html @@ -1,9 +1,7 @@ {% load static %} -