fixing console error when running system jobs

This commit is contained in:
Jared Tabor 2015-06-17 12:26:59 -04:00
parent 760dc7ad9c
commit 0d81d4a62b

View File

@ -93,7 +93,7 @@ export function JobsListController ($rootScope, $log, $scope, $compile, $routePa
$rootScope.removeJobStatusChange();
}
$rootScope.removeJobStatusChange = $rootScope.$on('JobStatusChange-jobs', function() {
jobs_scope.refreshJobs();
$scope.refreshJobs();
});
if ($rootScope.removeScheduleStatusChange) {