fixes tracker issue #102

This commit is contained in:
Nathan Dinsmore 2013-01-12 13:00:55 -05:00
parent fabdb542b9
commit 7e3e64470c

View file

@ -395,7 +395,7 @@ def show_topic(request, topic_id, full=True):
form_url = None
back_url = None
if user_is_authenticated and not topic.closed:
form_url = request.path + "#reply" # if form validation failed: browser should scroll down to reply form ;)
form_url = request.path + '?' + request.META['QUERY_STRING'] + '#reply' # if form validation failed: browser should scroll down to reply form ;)
back_url = request.path
ip = request.META.get('REMOTE_ADDR', None)
post_form_kwargs = {"topic":topic, "user":request.user, "ip":ip}