b
This commit is contained in:
parent
7c38dd5294
commit
c0f3d5cb68
47 changed files with 119 additions and 95 deletions
|
@ -7,7 +7,8 @@ function report_postModal(id) {
|
|||
this.innerHTML='Reporting post';
|
||||
this.disabled = true;
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.setRequestHeader('Authorization', 'xhr');
|
||||
xhr.open("POST", '/report/post/'+id, true);
|
||||
var form = new FormData()
|
||||
form.append("formkey", formkey());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue