Remove unused function.
This commit is contained in:
parent
9acaa4033e
commit
69d0e06b57
@ -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.
|
* Toggle pointed indicator for an operation.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user