Commit 420c256a authored by Ivan Tyagov's avatar Ivan Tyagov

Fix it now properly. Thanks to JM.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23116 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 884e02d1
......@@ -716,7 +716,7 @@ def MultiItemsWidget_render_items(self, field, key, value, REQUEST, render_prefi
# multi items widget should have at least one child in order to produce
# valid XHTML disable it so user can not select it
if not len(items) :
return [self.render_item('','', '', '', 'disabled="1"')]
return [self.render_item('','', '', '', 'disabled="disabled"')]
for item in items:
try:
......
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