Mercurial > agora-palash
changeset 197:1341435d4d33
Fixed redirection issue . User was redirected to a greeting page before. Now user will be redirected to the same page on which the user commented.
author | Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Thu, 04 Jul 2013 20:32:54 +0500 |
parents | 134f726fd62c |
children | df53a2731d66 |
files | templates/comments/form.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/comments/form.html Thu Jul 04 15:45:50 2013 +0500 +++ b/templates/comments/form.html Thu Jul 04 20:32:54 2013 +0500 @@ -8,7 +8,7 @@ {{ form.timestamp }} {{ form.security_hash }} {# if it is has a parent #} - + <input type="hidden" name="next" value="{{ request.get_full_path }}" /> {% if node.id %} <input type="hidden" name="parent" id="parent_id" value="{{ node.id }}" /> <input type = 'button' value = "Reply" onClick= "$(this).ShowCommentForm({{ node.id }})" id = "{{ node.id }}-button"