localization for ajax
This commit is contained in:
SDE
2023-10-18 12:06:17 +03:00
parent 735a84bf9a
commit 9c24034776
7 changed files with 32 additions and 28 deletions

View File

@@ -40,7 +40,7 @@ function load_routes (el,news=null) {
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },
url: `/ru/${url_ajax}`,
url: `/${url_ajax}`,
type: "POST",
// async: true,
cache: false,