Frozen user cant comment or niet slecht on postst
This commit is contained in:
@@ -4,7 +4,11 @@ function postComment(buttonValue) {
|
||||
$.post(
|
||||
"API/postComment.php",
|
||||
formData
|
||||
);
|
||||
).done(function (response) {
|
||||
if (response == "frozen") {
|
||||
alert("Je account is bevroren, dus je kan geen comments plaatsen of \"niet slechten\". Contacteer een admin als je denkt dat dit onjuist is.");
|
||||
}
|
||||
});
|
||||
|
||||
$("#newcomment").val("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user