mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Job detail page
When the job run was complete the interval was not being turned off that would continue to update the DOM
This commit is contained in:
parent
f5100ee110
commit
cd486b6d9a
@ -181,7 +181,9 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
|
||||
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
||||
msg: 'Call to ' + url + '. GET returned: ' + status });
|
||||
});
|
||||
|
||||
if ($rootScope.jobDetailInterval) {
|
||||
window.clearInterval($rootScope.jobDetailInterval);
|
||||
}
|
||||
$log.debug('Job completed!');
|
||||
$log.debug(scope.jobData);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user