format field should inherit from parent field's eidparam stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 12:11:03 +0200
branchstable
changeset 2724 7966d87202d7
parent 2723 d38c2b01d766
child 2725 6d0acd812d98
format field should inherit from parent field's eidparam
web/formfields.py
--- a/web/formfields.py	Fri Aug 07 12:10:32 2009 +0200
+++ b/web/formfields.py	Fri Aug 07 12:11:03 2009 +0200
@@ -248,7 +248,7 @@
         try:
             return req.data[self]
         except KeyError:
-            fkwargs = {}
+            fkwargs = {'eidparam': self.eidparam}
             if self.use_fckeditor(form):
                 # if fckeditor is used and format field isn't explicitly
                 # deactivated, we want an hidden field for the format