mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02: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:
@@ -181,7 +181,9 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
|
|||||||
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
||||||
msg: 'Call to ' + url + '. GET returned: ' + status });
|
msg: 'Call to ' + url + '. GET returned: ' + status });
|
||||||
});
|
});
|
||||||
|
if ($rootScope.jobDetailInterval) {
|
||||||
|
window.clearInterval($rootScope.jobDetailInterval);
|
||||||
|
}
|
||||||
$log.debug('Job completed!');
|
$log.debug('Job completed!');
|
||||||
$log.debug(scope.jobData);
|
$log.debug(scope.jobData);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user