web/views/editforms.py
branchstable
changeset 3943 716ce5e816f2
parent 3941 dc6a04997b77
child 3947 8d06bce45c02
--- a/web/views/editforms.py	Sun Nov 29 23:17:31 2009 +0100
+++ b/web/views/editforms.py	Sun Nov 29 23:22:32 2009 +0100
@@ -495,7 +495,7 @@
                                          parent_form=self.pform,
                                          **self.extra_kwargs)
         if self.pform is None:
-            form.restore_previous_post(self.session_key())
+            form.restore_previous_post(form.session_key())
         #assert form.parent_form
         self.add_hiddens(form, entity)
         return form