This commit is contained in:
2023-08-07 14:39:39 +03:00
parent 0394771764
commit 7a179602d7
6 changed files with 33 additions and 25 deletions

View File

@@ -209,12 +209,12 @@ function sendMessage(id_ticket=null,sender,receiver){
data: JSON.stringify(data),
success: function(data){
document.querySelector(".info_profile").innerHTML = data.html;
document.querySelector(".container-messages").innerHTML = data.html;
},
error: function (data){
document.querySelector(".info_profile").innerHTML = data.responseJSON.error;
document.querySelector(".container-messages").innerHTML = data.responseJSON.error;
}
});

View File

@@ -21,6 +21,8 @@ function writeMessage(){
}
});
}
function technicalSupport(){
$.ajax({
headers: { "X-CSRFToken": $('input[name=csrfmiddlewaretoken]').val() },