Commit fb6f78c6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not add /view.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40415 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4164e389
......@@ -66,7 +66,10 @@ request_form.update(kw)\n
request_form = context.ERP5Site_filterParameterList(request_form)\n
request_form.update(keep_items)\n
\n
redirect_url = \'%s/%s\' % (context.absolute_url(), form_id)\n
if form_id == \'view\':\n
redirect_url = context.absolute_url()\n
else:\n
redirect_url = \'%s/%s\' % (context.absolute_url(), form_id)\n
\n
parameters = make_query(dict([(k, v) for k, v in request_form.items() if k and v is not None]))\n
if len(parameters):\n
......
1044
\ No newline at end of file
1045
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment