Commit ca69d5f1 authored by Ivan Tyagov's avatar Ivan Tyagov

Handle case when listbox is not a list but None.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16600 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2fdeb9f7
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
is_report_tree_mode selection/report_tree_mode | nothing;" >\n is_report_tree_mode selection/report_tree_mode | nothing;" >\n
\n \n
\n \n
<tal:block tal:condition="python: len(listboxline_list) > 1" >\n <tal:block tal:condition="python: listboxline_list is not None and len(listboxline_list) > 1" >\n
\n \n
<tal:block tal:condition="python: is_domain_tree_mode">\n <tal:block tal:condition="python: is_domain_tree_mode">\n
<tal:block tal:define="domain_list python: selection.getDomainList()"\n <tal:block tal:define="domain_list python: selection.getDomainList()"\n
......
48 49
\ No newline at end of file \ No newline at end of file
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