equal
deleted
inserted
replaced
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() |