diff --git a/src/operations/index.js b/src/operations/index.js index bc9adc8..37cf5bc 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -89,17 +89,6 @@ var operationModule = angular.module('accountant.operations', [ }); }; - /* - * Cancel edition. - */ - vm.cancelEdit = function(operation, rowform, $index) { - if (operation.id) { - rowform.$cancel(); - } else { - vm.operations.splice($index, 1); - } - }; - /* * Toggle pointed indicator for an operation. */