mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
fix job results out of order case
This commit is contained in:
@@ -365,6 +365,10 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
|
||||
var putAfter;
|
||||
var isDup = false;
|
||||
|
||||
if ($(".header_" + putIn + ",." + putIn).length === 0) {
|
||||
appendToBottom(mungedEvent);
|
||||
} else {
|
||||
$(".header_" + putIn + ",." + putIn)
|
||||
.each((i, v) => {
|
||||
if (angular.element(v).scope()
|
||||
@@ -384,6 +388,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
appendToBottom(mungedEvent);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (!isDup) {
|
||||
$(putAfter).after($compile(mungedEvent
|
||||
|
||||
Reference in New Issue
Block a user