fix redirect after a reply has been added.
svn path=/plone.app.discussion/trunk/; revision=27199
This commit is contained in:
parent
49aab7389b
commit
66f4640ac7
@ -146,4 +146,4 @@ class ReplyToComment(BrowserView):
|
|||||||
new_re_id = replies.addComment(comment)
|
new_re_id = replies.addComment(comment)
|
||||||
|
|
||||||
# Redirect to comment (inside a content object page)
|
# Redirect to comment (inside a content object page)
|
||||||
self.request.response.redirect(aq_parent(aq_inner(self.context)).absolute_url() + '#comment-' + str(comment_id))
|
self.request.response.redirect(aq_parent(aq_inner(self.context)).absolute_url() + '#comment-' + str(reply_to_comment_id))
|
||||||
|
Loading…
Reference in New Issue
Block a user