Skip to content
Snippets Groups Projects
Commit 59e37e98fa32 authored by Sandrine Ribeau's avatar Sandrine Ribeau
Browse files

ticket #774921, delete comment is now using __redirectpath param to handle nicer redirection

parent 3327c79c8181
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,8 @@ ...@@ -148,7 +148,8 @@
if deleteaction is not None: if deleteaction is not None:
url = self._cw.build_ajax_replace_url( url = self._cw.build_ajax_replace_url(
'comment%s' % entity.eid, rql_for_eid(entity.eid), 'comment%s' % entity.eid, rql_for_eid(entity.eid),
'deleteconf') 'deleteconf', __redirectpath=entity.root().rest_path())
self.w(u' | <span class="replyto"><a href="%s">%s</a></span>' self.w(u' | <span class="replyto"><a href="%s">%s</a></span>'
% (xml_escape(url), self._cw._(deleteaction.title))) % (xml_escape(url), self._cw._(deleteaction.title)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment