web/form.py
branchtls-sprint
changeset 1315 86bddd181e03
parent 1312 df7f847e1388
child 1318 50e1a778c5ee
--- a/web/form.py	Thu Apr 09 12:40:30 2009 +0200
+++ b/web/form.py	Thu Apr 09 12:55:00 2009 +0200
@@ -360,7 +360,7 @@
                 msg = '%s %s' % (msg, self.req._('and linked'))
             self.form_add_hidden('__message', msg)
         
-    def form_build_context(self, values):
+    def form_build_context(self, values=None):
         self.form_add_entity_hiddens(self.edited_entity.e_schema)
         return super(EntityFieldsForm, self).form_build_context(values)