[web deletion] must use set_message
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 18 Mar 2010 17:14:01 +0100
changeset 4940 3143a1258d62
parent 4938 b1a4fe480de5
child 4943 7f5b83578fec
[web deletion] must use set_message
web/views/editcontroller.py
--- a/web/views/editcontroller.py	Thu Mar 18 11:57:48 2010 +0100
+++ b/web/views/editcontroller.py	Thu Mar 18 17:14:01 2010 +0100
@@ -279,7 +279,7 @@
         errorurl = self._cw.form.get('__errorurl')
         if errorurl:
             self._cw.cancel_edition(errorurl)
-        self._cw.message = self._cw._('edit canceled')
+        self._cw.set_message(self._cw._('edit canceled'))
         return self.reset()
 
     def _action_delete(self):