# HG changeset patch # User Sylvain Thénault # Date 1259533000 -3600 # Node ID dc6a04997b77dee8ce38d74a9070ce52beffce2e # Parent c1050081ac4bbe8a1424e509ef9b6f20e2c88d61 fix ze fix diff -r c1050081ac4b -r dc6a04997b77 web/views/editforms.py --- a/web/views/editforms.py Sun Nov 29 16:45:47 2009 +0100 +++ b/web/views/editforms.py Sun Nov 29 23:16:40 2009 +0100 @@ -491,9 +491,11 @@ entity=entity, form_renderer_id='inline', copy_nav_params=False, - mainform=not self.pform, + mainform=False, parent_form=self.pform, **self.extra_kwargs) + if self.pform is None: + form.restore_previous_post(self.session_key()) #assert form.parent_form self.add_hiddens(form, entity) return form