web/views/editforms.py
changeset 2890 fdcb8a2bb6eb
parent 2789 39712da6f397
child 3072 6fb42c53f6df
--- a/web/views/editforms.py	Mon Aug 17 20:02:25 2009 +0200
+++ b/web/views/editforms.py	Mon Aug 17 20:02:57 2009 +0200
@@ -412,7 +412,7 @@
 
     def __init__(self, req, rset, **kwargs):
         kwargs.setdefault('__redirectrql', rset.printable_rql())
-        super(TableEditForm, self).__init__(req, rset, **kwargs)
+        super(TableEditForm, self).__init__(req, rset=rset, **kwargs)
         for row in xrange(len(self.rset)):
             form = self.vreg['forms'].select('edition', self.req,
                                              rset=self.rset, row=row,