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

if no resource is set make it possible to choose between all item types

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41335 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent edbc1803
...@@ -71,6 +71,10 @@ ...@@ -71,6 +71,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -114,7 +118,7 @@ ...@@ -114,7 +118,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + (here.getResource() and [(here.Base_translateString(x), x) for x in here.getResourceValue().getAggregatedPortalTypeList()] or [])</string> </value> <value> <string>python: [(\'\', \'\')] + (here.getResource() and [(here.Base_translateString(x), x) for x in here.getResourceValue().getAggregatedPortalTypeList()] or [(here.Base_translateString(x), x) for x in here.getPortalItemTypeList()])</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
253 254
\ 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