Update View.xml

This commit is contained in:
n1rwana 2023-07-30 12:41:56 +03:00
parent 06c3ba54f5
commit 376df2ac23

View file

@ -31,7 +31,7 @@
function closeTicket() { function closeTicket() {
let url = `/support/ticket${{$ticket->getId()}}/close?hash=${{urlencode($csrfToken)}}`; let url = `/support/ticket${{$ticket->getId()}}/close?hash=${{urlencode($csrfToken)}}`;
$.ajax(url, { $.ajax(url, {
error: () => alert("Произошла ошибка"), error: () => alert(tr("error")),
success: () => location.reload() success: () => location.reload()
}); });
} }