Take commenters back to the blog article and the comments section where they just...
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 3 Jan 2015 14:17:32 +0000 (15:17 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 3 Jan 2015 14:17:32 +0000 (15:17 +0100)
webcit/static/t/view_blog/comment_box.html

index 6b8292c49e9295073aab7a1d059ec68f1345e1d1..1d60f40291df02e0f7183eb1e8b6f03b6288898c 100644 (file)
@@ -7,11 +7,12 @@ function submit_comment() {
 <div class="blog_comment">
 <span class="post_a_comment_title"><?_("Post a comment")></span>
 <form id="blog_comment_form" accept-charset="UTF-8" enctype="multipart/form-data"
- method="POST" action="post" onSubmit="submit_comment();">
+ method="POST" action="post#comments" onSubmit="submit_comment();">
 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
 <input type="hidden" name="nonce" value="<?NONCE>">
 <input type="hidden" name="force_room" value="<?THISROOM:NAME("X")>">
 <input type="hidden" name="references" id="comment_form_references" /><br>
+<input type="hidden" name="p" value="<?BSTR('p')>">
 <textarea name="msgtext" id="comment_form_msgtext" cols=80 rows=10 style="width:98%"
        <?!("COND:LOGGEDIN",1)>
                onClick="javascript:GetLoggedInFirst(encodeURIComponent(window.location.href));"