Commit 9dd49de9 authored by Aurel's avatar Aurel

call on the editor of multi-relation string field must set the

'default_text' on the default field id instead of the uid list, this
prevent from displaying uid to the user if any other field of the form
is not validated


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40364 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0295c25
...@@ -405,7 +405,7 @@ class MultiRelationEditor: ...@@ -405,7 +405,7 @@ class MultiRelationEditor:
for value, uid, display_text, relation_key, item_key in \ for value, uid, display_text, relation_key, item_key in \
self.relation_editor_list: self.relation_editor_list:
value_list.append(value) value_list.append(display_text)
if uid is not None: if uid is not None:
# Decorate the request so that we can display # Decorate the request so that we can display
# the select item in a popup # the select item in a popup
......
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