web/views/forms.py
branchstable
changeset 7728 0fa5ba0229cd
parent 7632 3c9dfc6e820b
child 7815 2a164a9cf81c
--- a/web/views/forms.py	Tue Aug 02 10:39:10 2011 +0200
+++ b/web/views/forms.py	Tue Aug 02 17:31:04 2011 +0200
@@ -384,7 +384,8 @@
                 else:
                     msg = self._cw._('entity linked')
         if msg:
-            self.add_hidden('__message', msg)
+            msgid = self._cw.set_redirect_message(msg)
+            self.add_hidden('_cwmsgid', msgid)
 
     def session_key(self):
         """return the key that may be used to store / retreive data about a