Commit 35bdd5c5 authored by Yusei Tahara's avatar Yusei Tahara

Empty item in listbox is needed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18803 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c262b91d
...@@ -82,7 +82,7 @@ current_destination_section = context.getDestinationSectionValue()\n ...@@ -82,7 +82,7 @@ current_destination_section = context.getDestinationSectionValue()\n
if current_destination_section is not None and current_destination_section not in result:\n if current_destination_section is not None and current_destination_section not in result:\n
result.append(current_destination_section)\n result.append(current_destination_section)\n
\n \n
return [(i.getTitle(), i.getRelativeUrl()) for i in result]\n return [(\'\', \'\')]+[(i.getTitle(), i.getRelativeUrl()) for i in result]\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -84,7 +84,7 @@ if current_source_section is not None and current_source_section not in result:\ ...@@ -84,7 +84,7 @@ if current_source_section is not None and current_source_section not in result:\
result.append(current_source_section)\n result.append(current_source_section)\n
\n \n
# convert to ListField format\n # convert to ListField format\n
return [(i.getTitle(), i.getRelativeUrl()) for i in result]\n return [(\'\', \'\')]+[(i.getTitle(), i.getRelativeUrl()) for i in result]\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
548 549
\ 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