fix redirection after a comment has been added.
svn path=/plone.app.discussion/trunk/; revision=30986
This commit is contained in:
parent
017cb15157
commit
7550e95d5c
@ -212,7 +212,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form):
|
||||
else:
|
||||
# Redirect to comment (inside a content object page)
|
||||
self.request.response.redirect(
|
||||
aq_parent(aq_inner(self.context)).absolute_url() +
|
||||
aq_parent(aq_inner(self.context)).absolute_url() + \
|
||||
'#' + str(comment_id))
|
||||
|
||||
@button.buttonAndHandler(_(u"Cancel"))
|
||||
|
Loading…
Reference in New Issue
Block a user