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,25 +365,30 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
|
|
||||||
var putAfter;
|
var putAfter;
|
||||||
var isDup = false;
|
var isDup = false;
|
||||||
$(".header_" + putIn + ",." + putIn)
|
|
||||||
.each((i, v) => {
|
if ($(".header_" + putIn + ",." + putIn).length === 0) {
|
||||||
if (angular.element(v).scope()
|
appendToBottom(mungedEvent);
|
||||||
.event.start_line < mungedEvent
|
} else {
|
||||||
.start_line) {
|
$(".header_" + putIn + ",." + putIn)
|
||||||
putAfter = v;
|
.each((i, v) => {
|
||||||
} else if (angular.element(v).scope()
|
if (angular.element(v).scope()
|
||||||
.event.start_line === mungedEvent
|
.event.start_line < mungedEvent
|
||||||
.start_line) {
|
.start_line) {
|
||||||
isDup = true;
|
putAfter = v;
|
||||||
return false;
|
} else if (angular.element(v).scope()
|
||||||
} else if (angular.element(v).scope()
|
.event.start_line === mungedEvent
|
||||||
.event.start_line > mungedEvent
|
.start_line) {
|
||||||
.start_line) {
|
isDup = true;
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else if (angular.element(v).scope()
|
||||||
appendToBottom(mungedEvent);
|
.event.start_line > mungedEvent
|
||||||
}
|
.start_line) {
|
||||||
});
|
return false;
|
||||||
|
} else {
|
||||||
|
appendToBottom(mungedEvent);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (!isDup) {
|
if (!isDup) {
|
||||||
$(putAfter).after($compile(mungedEvent
|
$(putAfter).after($compile(mungedEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user