v2 uapf9
This commit is contained in:
@@ -1062,7 +1062,7 @@ class AutomaticDispose {
|
||||
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
||||
$('#' + runnerIframe).attr("src", '');
|
||||
$('#' + runnerIframe).attr("mission_id", 'empty');
|
||||
setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||
setTimeout(self.OpenNextMission.bind(self), 500, Runner);
|
||||
}
|
||||
|
||||
UpdateMissionsToDone(MissionID) {
|
||||
@@ -1117,7 +1117,7 @@ class AutomaticDispose {
|
||||
}
|
||||
}).then((Wunsche) => {
|
||||
if (typeof Wunsche === "undefined") {
|
||||
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner);
|
||||
return setTimeout(self.OpenNextMission.bind(self), 500, Runner);
|
||||
}
|
||||
Wunsche.sort((a, b) => {
|
||||
return a.next_check - b.next_check;
|
||||
@@ -1240,13 +1240,13 @@ class AutomaticDispose {
|
||||
return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
|
||||
});
|
||||
} else {
|
||||
setTimeout(function () {
|
||||
|
||||
if (['adis-ownmissions', 'adis-plannedeventss', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
||||
self.CheckMissionAutomatic();
|
||||
} else if (['adis-verbandmission', 'adis-verbandmission-event'].indexOf(window.name) != -1) {
|
||||
self.WorkVerbandMission();
|
||||
}
|
||||
}, 250);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1461,9 +1461,9 @@ class AutomaticDispose {
|
||||
} else {
|
||||
setTimeout(function () {
|
||||
alarming(self)
|
||||
}, 750);
|
||||
}, 250);
|
||||
}
|
||||
}, 500);
|
||||
}, 150);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user