Commit 87deba5d authored by Jérome Perrin's avatar Jérome Perrin

r22582 broke Base_edit and made it impossible to edit any document ... this repairs it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22605 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 696f07f9
......@@ -214,7 +214,7 @@ def parseField(f):\n
"""\n
k = f.id\n
if f.has_value(\'alternate_name\'):\n
k = f.get_value(\'alternate_name\')\n
k = f.get_value(\'alternate_name\') or f.id\n
v = getattr(request, k, MARKER)\n
if hasattr(v, \'edit\'):\n
# This is an encapsulated editor\n
......
913
\ No newline at end of file
914
\ 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