web/views/editforms.py
branchstable
changeset 3880 88fc53eb5b5f
parent 3806 6a4191b0eb9a
child 3890 d7a270f50f54
child 3927 b2a6c25b8429
--- a/web/views/editforms.py	Thu Nov 19 14:28:59 2009 +0100
+++ b/web/views/editforms.py	Thu Nov 19 17:06:46 2009 +0100
@@ -436,6 +436,7 @@
             form = self.vreg['forms'].select('edition', self.req,
                                              rset=self.rset, row=row,
                                              attrcategories=('primary',),
+                                             copy_nav_params=False,
                                              mainform=False)
             # XXX rely on the EntityCompositeFormRenderer to put the eid input
             form.remove_field(form.field_by_name('eid'))
@@ -452,7 +453,8 @@
         should be the eid
         """
         #self.form_title(entity)
-        form = self.vreg['forms'].select(self.id, self.req, rset=self.rset)
+        form = self.vreg['forms'].select(self.id, self.req, rset=self.rset,
+                                         copy_nav_params=True)
         self.w(form.form_render())