branch | stable |
changeset 3941 | dc6a04997b77 |
parent 3939 | c1050081ac4b |
child 3943 | 716ce5e816f2 |
--- 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