Commit 22e6067c authored by Sebastien Robin's avatar Sebastien Robin

allow one dimension matrix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1967 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cde316f5
......@@ -172,6 +172,7 @@ class MatrixBoxWidget(Widget.Widget):
list_html = ''
k = 0
# Create one table per tab
for tab in tabs:
tab_id = tab[0]
......@@ -222,7 +223,12 @@ class MatrixBoxWidget(Widget.Widget):
td_css = 'DataB'
list_body = list_body + '<tr><td class=\"%s\">%s</td>' % (td_css, str(l[1]))
j = 0
line_id = l[0]
for c in columns:
if line_id is None and tab_id is None:
kw = [line_id]
if tab_id is None:
kw = [l[0], c[0]]
else:
......
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