Remove unused function.

This commit is contained in:
Alexis Lahouze 2017-06-15 08:47:15 +02:00
parent 9acaa4033e
commit 69d0e06b57

View File

@ -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.
*/