web/views/editcontroller.py
branchstable
changeset 2998 da622f980470
parent 2680 66472d85d548
child 3023 7864fee8b4ec
child 3092 c153b1ae9875
equal deleted inserted replaced
2997:cedc3ab1a1f5 2998:da622f980470
   155 
   155 
   156     def _action_cancel(self):
   156     def _action_cancel(self):
   157         errorurl = self.req.form.get('__errorurl')
   157         errorurl = self.req.form.get('__errorurl')
   158         if errorurl:
   158         if errorurl:
   159             self.req.cancel_edition(errorurl)
   159             self.req.cancel_edition(errorurl)
       
   160         self.req.message = self.req._('edit canceled')
   160         return self.reset()
   161         return self.reset()
   161 
   162 
   162     def _action_delete(self):
   163     def _action_delete(self):
   163         self.delete_entities(self.req.edited_eids(withtype=True))
   164         self.delete_entities(self.req.edited_eids(withtype=True))
   164         return self.reset()
   165         return self.reset()