[form] __maineid missing from the special fields list tls-sprint
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 29 Apr 2009 19:51:10 +0200
branchtls-sprint
changeset 1561 85752d14c15d
parent 1560 7dd2a81b8bc8
child 1562 e6d2c07c0c58
[form] __maineid missing from the special fields list
web/form.py
--- a/web/form.py	Wed Apr 29 19:50:04 2009 +0200
+++ b/web/form.py	Wed Apr 29 19:51:10 2009 +0200
@@ -421,7 +421,7 @@
 class EntityFieldsForm(FieldsForm):
     __select__ = (match_kwargs('entity') | (one_line_rset & non_final_entity()))
 
-    internal_fields = FieldsForm.internal_fields + ('__type', 'eid')
+    internal_fields = FieldsForm.internal_fields + ('__type', 'eid', '__maineid')
     domid = 'entityForm'
 
     def __init__(self, *args, **kwargs):