diff --git a/accountant/frontend/static/js/operations.js b/accountant/frontend/static/js/operations.js index 3c7405d..ae802b9 100644 --- a/accountant/frontend/static/js/operations.js +++ b/accountant/frontend/static/js/operations.js @@ -316,7 +316,7 @@ accountantApp /* * Add a new operation. */ - $scope.addOperation = function() { + $scope.add = function() { var operation = new Operation({ account_id: $routeParams.accountId });