diff --git a/src/operations/index.js b/src/operations/index.js index 60b6b20..125beb2 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -180,17 +180,6 @@ var operationModule = angular.module('accountant.operations', [ }); }; - /* - * Reload operations on rangeSelectedEvent. - */ - vm.onRangeSelected = $rootScope.$on('rangeSelectedEvent', function(e, args) { - vm.load(args.begin, args.end); - }); - - $rootScope.$on('$destroy', function() { - vm.onRangeSelected = angular.noop; - }); - vm.operations = vm.load(); })