Delete Posts!

This commit is contained in:
Marijn Jansen
2017-02-01 14:34:02 +01:00
parent fc07027405
commit dbfe10f84b
4 changed files with 36 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
function postComment(buttonValue) {
formData = $("#newcommentform").serializeArray();
formData.push({name: "button", value: buttonValue});
@@ -31,6 +32,8 @@ function deletePost(postID) {
alert("Je account is bevroren, dus je kan geen posts verwijderen. Contacteer een admin als je denkt dat dit onjuist is.");
}
});
closeModal();
masonry(masonryMode);
}