Commit c6b257e2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

propagate ignore_layout in jump link.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26599 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e5eb587c
...@@ -352,6 +352,8 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget, ...@@ -352,6 +352,8 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
(REQUEST.get('selection_name'), REQUEST.get('selection_index')) (REQUEST.get('selection_name'), REQUEST.get('selection_index'))
else: else:
selection_name_html = '' selection_name_html = ''
if REQUEST.get('ignore_layout') is not None:
selection_name_html += '&ignore_layout:int=%s' % int(REQUEST.get('ignore_layout', 0))
# Generate plan link # Generate plan link
html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \ html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
'<img src="%s/images/jump.png" alt="jump" />' \ '<img src="%s/images/jump.png" alt="jump" />' \
......
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