web/views/editforms.py
branchreldefsecurity
changeset 3889 8902b8745918
parent 3880 88fc53eb5b5f
child 3890 d7a270f50f54
child 3927 b2a6c25b8429
--- a/web/views/editforms.py	Thu Nov 19 12:55:47 2009 +0100
+++ b/web/views/editforms.py	Fri Nov 20 17:51:34 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())