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