From 69d0e06b579150e9a513f194cf1b79bfbceb63dd Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 15 Jun 2017 08:47:15 +0200 Subject: [PATCH] Remove unused function. --- src/operations/index.js | 11 ----------- 1 file changed, 11 deletions(-) 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. */