Commit 43908bc7 authored by Ivan Tyagov's avatar Ivan Tyagov

Do not hard code field_id of litsbox to 'listbox'.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43593 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8dde58fc
...@@ -2629,8 +2629,8 @@ class ListBoxHTMLRenderer(ListBoxRenderer): ...@@ -2629,8 +2629,8 @@ class ListBoxHTMLRenderer(ListBoxRenderer):
request = self.request request = self.request
field_id = self.getId() field_id = self.getId()
form = self.getForm() form = self.getForm()
request.set('listbox_form_id', form.getId()) request.set('%s_form_id', %(field_id, form.getId()))
request.set('listbox_field_id', field_id) request.set('%s_field_id', %(field_id, field_id))
pt = self.getPageTemplate() pt = self.getPageTemplate()
return pt() return pt()
......
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