forked from rDrama/rDrama
reply to edit
parent
661bf3af67
commit
09027e51d7
|
@ -169,7 +169,7 @@ function comment_edit(id){
|
||||||
form.append('file', e);
|
form.append('file', e);
|
||||||
}
|
}
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
const xhr = createXhrWithFormKey("/reply", "POST", form);
|
const xhr = createXhrWithFormKey("/edit_comment/"+id, "POST", form);
|
||||||
xhr[0].onload=function(){
|
xhr[0].onload=function(){
|
||||||
let data
|
let data
|
||||||
try {data = JSON.parse(xhr[0].response)}
|
try {data = JSON.parse(xhr[0].response)}
|
||||||
|
|
Loading…
Reference in New Issue