web/views/editcontroller.py
changeset 10932 cb217b2b3463
parent 10730 874ac29b515d
child 10969 b4de8b1cc135
--- a/web/views/editcontroller.py	Wed Nov 25 16:22:42 2015 +0100
+++ b/web/views/editcontroller.py	Wed Nov 25 18:31:48 2015 +0100
@@ -390,13 +390,6 @@
         self._default_publish()
         self.reset()
 
-    def _action_cancel(self):
-        errorurl = self._cw.form.get('__errorurl')
-        if errorurl:
-            self._cw.cancel_edition(errorurl)
-        self._cw.set_message(self._cw._('edit canceled'))
-        return self.reset()
-
     def _action_delete(self):
         self.delete_entities(self._cw.edited_eids(withtype=True))
         return self.reset()