Commit 3011518d authored by Kevin Deldycke's avatar Kevin Deldycke

Add commented log

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54388447
......@@ -71,6 +71,9 @@
<value> <string>url = None\n
if brain is not None:\n
o = brain.getObject()\n
# context.log(\'WebSite_getListboxUrl\',\'context : %s\' % context.vincent_context())\n
# context.log(\'WebSite_getListboxUrl\',\'brain : %s\' % brain.vincent_context())\n
# context.log(\'WebSite_getListboxUrl\',\'URL1 : %s\' % context.REQUEST[\'URL1\'])\n
url = \'%s/%s\' % (context.REQUEST[\'URL1\'], o.getRelativeUrl())\n
if getattr(context.REQUEST, \'editable_mode\', None):\n
url = \'%s/view?editable_mode=%s\' % (url, context.REQUEST[\'editable_mode\'])\n
......@@ -85,10 +88,6 @@ return url\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_web/WebSite_getListboxUrl</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
......
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