add unpolished post viewing

This commit is contained in:
Hendrik
2017-01-25 13:28:47 +01:00
parent b9fc016f7d
commit db333b6e98
7 changed files with 114 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
function loadPost(postID) {
$.get(
"API/loadPost.php",
$(postID).serialize()
).done(function (data) {
$('#modal-response').innerHTML= JSON.parse(data);
});
}