Skip to content

Commit

Permalink
Fixed #10169: don't accidentally try to redirect to "None" after post…
Browse files Browse the repository at this point in the history
…ing a comment.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed Apr 7, 2009
1 parent 2ec48a1 commit 752cc49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django/contrib/comments/templates/comments/approve.html
Expand Up @@ -7,7 +7,7 @@
<h1>{% trans "Really make this comment public?" %}</h1> <h1>{% trans "Really make this comment public?" %}</h1>
<blockquote>{{ comment|linebreaks }}</blockquote> <blockquote>{{ comment|linebreaks }}</blockquote>
<form action="." method="post"> <form action="." method="post">
<input type="hidden" name="next" value="{{ next }}" id="next" /> {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
<p class="submit"> <p class="submit">
<input type="submit" name="submit" value="{% trans "Approve" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a> <input type="submit" name="submit" value="{% trans "Approve" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
</p> </p>
Expand Down
2 changes: 1 addition & 1 deletion django/contrib/comments/templates/comments/delete.html
Expand Up @@ -7,7 +7,7 @@
<h1>{% trans "Really remove this comment?" %}</h1> <h1>{% trans "Really remove this comment?" %}</h1>
<blockquote>{{ comment|linebreaks }}</blockquote> <blockquote>{{ comment|linebreaks }}</blockquote>
<form action="." method="post"> <form action="." method="post">
<input type="hidden" name="next" value="{{ next }}" id="next" /> {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
<p class="submit"> <p class="submit">
<input type="submit" name="submit" value="{% trans "Remove" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a> <input type="submit" name="submit" value="{% trans "Remove" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
</p> </p>
Expand Down
2 changes: 1 addition & 1 deletion django/contrib/comments/templates/comments/flag.html
Expand Up @@ -7,7 +7,7 @@
<h1>{% trans "Really flag this comment?" %}</h1> <h1>{% trans "Really flag this comment?" %}</h1>
<blockquote>{{ comment|linebreaks }}</blockquote> <blockquote>{{ comment|linebreaks }}</blockquote>
<form action="." method="post"> <form action="." method="post">
<input type="hidden" name="next" value="{{ next }}" id="next" /> {% if next %}<input type="hidden" name="next" value="{{ next }}" id="next" />{% endif %}
<p class="submit"> <p class="submit">
<input type="submit" name="submit" value="{% trans "Flag" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a> <input type="submit" name="submit" value="{% trans "Flag" %}" /> or <a href="{{ comment.get_absolute_url }}">cancel</a>
</p> </p>
Expand Down

0 comments on commit 752cc49

Please sign in to comment.