mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
updates to job results based on feedback from pr
This commit is contained in:
parent
0befcced87
commit
5ddd918977
@ -21,7 +21,7 @@ export default [ 'templateUrl', '$timeout', '$location', '$anchorScroll',
|
||||
$(window).off("scroll", scrollWatcher);
|
||||
$(".JobResultsStdOut-stdoutContainer").off('scroll',
|
||||
scrollWatcher);
|
||||
toDestroy.forEach(v => v());
|
||||
toDestroy.forEach(closureFunc => closureFunc());
|
||||
});
|
||||
|
||||
scope.stdoutContainerAvailable.resolve("container available");
|
||||
|
||||
@ -508,6 +508,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
}));
|
||||
|
||||
$scope.$on('$destroy', function(){
|
||||
$( ".JobResultsStdOut-aLineOfStdOut" ).remove();
|
||||
cancelRequests = true;
|
||||
eventQueue.initialize();
|
||||
Object.keys($scope.events)
|
||||
@ -517,6 +518,6 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
});
|
||||
$scope.events = {};
|
||||
clearInterval(elapsedInterval);
|
||||
toDestroy.forEach(v => v());
|
||||
toDestroy.forEach(closureFunc => closureFunc());
|
||||
});
|
||||
}];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user