web/views/editcontroller.py
changeset 4940 3143a1258d62
parent 4934 0dfd86d2cd98
child 5038 90493551b1eb
--- 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):