Commit 3c7a9e05 authored by Fabien Morin's avatar Fabien Morin

&ignore_layout:int was not valid XHTML and not catch by testXHTML because if

the error appear only if the multirelation field is filed.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29300 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55a5627e
......@@ -353,7 +353,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
else:
selection_name_html = ''
if REQUEST.get('ignore_layout') is not None:
selection_name_html += '&ignore_layout:int=%s' % int(REQUEST.get('ignore_layout', 0))
selection_name_html += '&ignore_layout:int=%s' % int(REQUEST.get('ignore_layout', 0))
# Generate plan link
html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
'<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