equal
deleted
inserted
replaced
277 |
277 |
278 def _action_cancel(self): |
278 def _action_cancel(self): |
279 errorurl = self._cw.form.get('__errorurl') |
279 errorurl = self._cw.form.get('__errorurl') |
280 if errorurl: |
280 if errorurl: |
281 self._cw.cancel_edition(errorurl) |
281 self._cw.cancel_edition(errorurl) |
282 self._cw.message = self._cw._('edit canceled') |
282 self._cw.set_message(self._cw._('edit canceled')) |
283 return self.reset() |
283 return self.reset() |
284 |
284 |
285 def _action_delete(self): |
285 def _action_delete(self): |
286 self.delete_entities(self._cw.edited_eids(withtype=True)) |
286 self.delete_entities(self._cw.edited_eids(withtype=True)) |
287 return self.reset() |
287 return self.reset() |