Commit 10e9b6a8 authored by Jérome Perrin's avatar Jérome Perrin

revert previous changes and fix a little bug


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3677 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbd9d83d
......@@ -662,16 +662,6 @@ class ListBoxWidget(Widget.Widget):
# Only update params if list_method is defined
# (ie. do not update params in listboxed intended to show a previously defined selection
params.update(REQUEST.form)
empty_fields = REQUEST.get('my_empty_fields')
if not empty_fields is None:
if empty_fields.find(','):
empty_fields=empty_fields.split(",")
for k in range(0,len(empty_fields)-1):
params[empty_fields[k]] = None
elif empty_fields != '':
params[empty_fields] = None
for (k,v) in default_params:
if REQUEST.form.has_key(k):
params[k] = REQUEST.form[k]
......@@ -2144,7 +2134,7 @@ class ListBoxLine:
security.declarePublic('__getitem__')
def __getitem__(self, column_id):
return getColumnProperty(self, column_id)
return self.getColumnProperty(column_id)
#security.declarePublic('View')
def setConfigProperty(self, config_id, config_value):
......
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