web/views/forms.py
changeset 4248 d375643eea43
parent 4236 9260403bfe0b
child 4252 6c4f109c2b03
--- a/web/views/forms.py	Thu Jan 14 11:14:40 2010 +0100
+++ b/web/views/forms.py	Mon Jan 18 11:55:37 2010 +0100
@@ -250,6 +250,8 @@
         return '%s#%s' % (self._cw.url(), self.domid)
 
     def build_context(self, formvalues=None):
+        if self.formvalues is not None:
+            return # already built
         super(EntityFieldsForm, self).build_context(formvalues)
         edited = set()
         for field in self.fields: