should set None as default here as well tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 09 Apr 2009 12:55:00 +0200
branchtls-sprint
changeset 1315 86bddd181e03
parent 1314 dc5499bff1a9
child 1316 6d71d38822ee
should set None as default here as well
web/form.py
--- 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)