Commit 2b6ed853 authored by Jérome Perrin's avatar Jérome Perrin

don't set a link on listbox if no link exists

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34193 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 865de092
......@@ -456,7 +456,7 @@
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>list</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
......@@ -576,7 +576,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'%s\' % context.REQUEST.get(\'rss_link\', \'Rss Link Error\').encode(\'utf-8\')</string> </value>
<value> <string>python: (request.get(\'rss_link\') or \'\').encode(\'utf-8\')</string> </value>
</item>
</dictionary>
</pickle>
......@@ -608,7 +608,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'%s\' % context.REQUEST.get(\'rss_title\', \'Rss Title Error\').encode(\'utf-8\')</string> </value>
<value> <string>python: request.get(\'rss_title\', \'Rss Title Error\').encode(\'utf-8\')</string> </value>
</item>
</dictionary>
</pickle>
......
499
\ No newline at end of file
500
\ 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