Terminology change: instead of "banning" comments or posts, remove them.
This commit is contained in:
parent
c610c60dc0
commit
2f0a3fc278
8 changed files with 63 additions and 30 deletions
|
@ -1,11 +1,11 @@
|
|||
function removeCommentBackend(post_id) {
|
||||
url="/ban_comment/"+post_id
|
||||
url="/remove_comment/"+post_id
|
||||
|
||||
post(url)
|
||||
}
|
||||
|
||||
function approveCommentBackend(post_id) {
|
||||
url="/unban_comment/"+post_id
|
||||
url="/unremove_comment/"+post_id
|
||||
|
||||
post(url)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue