mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03: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 putAfter;
|
||||||
var isDup = false;
|
var isDup = false;
|
||||||
|
|
||||||
|
if ($(".header_" + putIn + ",." + putIn).length === 0) {
|
||||||
|
appendToBottom(mungedEvent);
|
||||||
|
} else {
|
||||||
$(".header_" + putIn + ",." + putIn)
|
$(".header_" + putIn + ",." + putIn)
|
||||||
.each((i, v) => {
|
.each((i, v) => {
|
||||||
if (angular.element(v).scope()
|
if (angular.element(v).scope()
|
||||||
@@ -384,6 +388,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
appendToBottom(mungedEvent);
|
appendToBottom(mungedEvent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (!isDup) {
|
if (!isDup) {
|
||||||
$(putAfter).after($compile(mungedEvent
|
$(putAfter).after($compile(mungedEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user