]> ruin.nu Git - ndwebbie.git/commitdiff
Make sure you get to the newposts anchor when previewing
authorMichael Andreen <harv@ruin.nu>
Sat, 21 Jun 2008 17:37:57 +0000 (19:37 +0200)
committerMichael Andreen <harv@ruin.nu>
Tue, 24 Jun 2008 23:17:04 +0000 (01:17 +0200)
root/src/forum/thread.tt2

index 48fff18a431ae9a997c2d0d1a69a86c4e4cec31c..2e068312dc206abc57450e7b8ad536df4e909568 100644 (file)
@@ -19,7 +19,7 @@
 [% END %]
 
 [% IF thread.post %]
-<form action="[% c.uri_for('addPost',thread.ftid) %]" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
+<form action="[% c.uri_for('addPost',thread.ftid) %]#NewPosts" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
        <textarea rows="25" cols="60" name="message">[% previewMessage %]</textarea>
        <br>
        <input type="submit" name="cmd" value="Submit">