web/views/workflow.py
branchstable
changeset 6692 bbc3f7c9f8d9
parent 6690 7d68948015ba
child 6763 9c4820021f52
--- a/web/views/workflow.py	Fri Nov 05 18:48:06 2010 +0100
+++ b/web/views/workflow.py	Fri Nov 05 18:48:07 2010 +0100
@@ -80,7 +80,9 @@
 # IWorkflowable views #########################################################
 
 class ChangeStateForm(forms.CompositeEntityForm):
-    __regid__ = 'changestate'
+    # set dom id to ensure there is no conflict with edition form (see
+    # session_key() implementation)
+    __regid__ = domid = 'changestate'
 
     form_renderer_id = 'base' # don't want EntityFormRenderer
     form_buttons = [fwdgs.SubmitButton(),