This commit is contained in:
2023-10-22 13:41:12 +03:00
parent 19983bf7a1
commit 1f3a8a258b
4 changed files with 56 additions and 37 deletions

View File

@@ -18,7 +18,7 @@ function load_routes (el,news=null) {
'to_el':parseInt(number_last_route) + incrase
}
let get_url = ""
let url_ajax = "get_articles_block/"
let url_ajax = "ru/get_articles_block/"
if (!news){
let list = forloop_func_form(data_d,"get",get_url)
data_d = list[0]
@@ -46,7 +46,7 @@ function load_routes (el,news=null) {
cache: false,
processData: false,
contentType: false,
// enctype: 'json',
enctype: 'json',
data: JSON.stringify(data_d),
success: function(data){