Commit c1f95699 authored by Jérome Perrin's avatar Jérome Perrin

this dict can be empty

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27260 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd67c897
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
tal:attributes="table:number-columns-spanned python: len(listboxline.getColumnItemList())" \n tal:attributes="table:number-columns-spanned python: len(listboxline.getColumnItemList())" \n
office:value-type=\'string\'>\n office:value-type=\'string\'>\n
<text:p text:style-name=\'listbox-header\'\n <text:p text:style-name=\'listbox-header\'\n
tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict() and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n
</table:table-cell>\n </table:table-cell>\n
</table:table-row>\n </table:table-row>\n
<table:table-row>\n <table:table-row>\n
......
73 74
\ 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