Frozen user cant comment or niet slecht on postst

This commit is contained in:
Lars van Hijfte
2017-01-31 14:34:51 +01:00
parent 9ca212570d
commit 44408ee429
5 changed files with 30 additions and 18 deletions

View File

@@ -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("");