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

revert previous change to always show the first proxy listbox id when clicking

on the wheel


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34097 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53773c36
......@@ -1238,7 +1238,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
proxy_listbox_ids = field.get_value('proxy_listbox_ids')
REQUEST.set('proxy_listbox_ids', proxy_listbox_ids)
if len(proxy_listbox_ids) == 1:
if len(proxy_listbox_ids) > 0:
REQUEST.set('proxy_listbox_id', proxy_listbox_ids[0][0])
else:
REQUEST.set('proxy_listbox_id',
......
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