Commit 043cfbf8 authored by Romain Courteaud's avatar Romain Courteaud

Disable hide_rows functionnality when using a listbox from a RelationField.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28334 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad565ad7
...@@ -1189,6 +1189,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -1189,6 +1189,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
kw['portal_status_message'] = portal_status_message kw['portal_status_message'] = portal_status_message
kw['saved_form_data'] = saved_form_data kw['saved_form_data'] = saved_form_data
kw['ignore_layout'] = int(REQUEST.get('ignore_layout', 0)) kw['ignore_layout'] = int(REQUEST.get('ignore_layout', 0))
kw['ignore_hide_rows'] = 1
# remove ignore_layout parameter from cancel_url otherwise we # remove ignore_layout parameter from cancel_url otherwise we
# will have two ignore_layout parameters after clicking cancel # will have two ignore_layout parameters after clicking cancel
# button. # button.
......
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