Commit 41666249 authored by Jérome Perrin's avatar Jérome Perrin

lookup listbox in 'Default' group for compat.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9377 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6af5dc02
......@@ -82,7 +82,7 @@ if form.meta_type != \'ERP5 Form\':\n
\n
# we start with \'bottom\' because most of the time\n
# the listbox is there.\n
for group in (\'bottom\', \'center\', \'left\', \'right\'):\n
for group in (\'bottom\', \'center\', \'left\', \'right\', \'Default\'):\n
for field in form.get_fields_in_group(group):\n
if field.meta_type == \'ListBox\' and not(field[\'hidden\']) and field[\'enabled\']:\n
return field\n
......
104
\ No newline at end of file
105
\ 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