Remove usage of .
This commit is contained in:
parent
bebe2aa874
commit
6556227f88
@ -61,7 +61,7 @@ module.exports = angular.module('accountant.operations', [
|
||||
* Controller for the operations.
|
||||
*/
|
||||
.controller('OperationController', function($routeParams, $modal,
|
||||
Notification, Operation, Account, $log) {
|
||||
Notification, Operation, Account) {
|
||||
|
||||
var vm = this;
|
||||
|
||||
@ -123,8 +123,6 @@ module.exports = angular.module('accountant.operations', [
|
||||
|
||||
return operation;
|
||||
}, function(result){
|
||||
$log.error('Error while saving operation', operation, result);
|
||||
|
||||
Notification.error(
|
||||
'Error while saving operation: ' + result.message
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user