diff --git a/isso/static/post.html b/isso/static/post.html index 584fd3b..b4bbace 100644 --- a/isso/static/post.html +++ b/isso/static/post.html @@ -61,7 +61,8 @@ text: text, author: $('input[id="author"]').val() || null, email: $('input[id="email"]').val() || null, - website: $('input[id="website"]').val() || null + website: $('input[id="website"]').val() || null, + parent: id }), error: function(resp) { alert("Mööp."); @@ -114,22 +115,27 @@ author = '' + author + ''; } - var date = new Date(parseInt(post['created']) * 1000); - $('#isso_thread ul').append( - '
' + - '
' + author + ' schrieb am' + - ' ' + format(date, 'de', '%d. %B %Y um %H:%M') + ':' + - ' ' + + // create