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