pav0
This commit is contained in:
@@ -14,7 +14,7 @@ $(document).ready(function () {
|
||||
console.log("CurrentTime", CurrentTime);
|
||||
if (MissionType !== null) {
|
||||
if (includesString($('#iframe-inside-container > div.alert.fade.in.alert-success').text(), "wurde erfolgreich informiert") || $('#vehicle_show_table_all input[type="checkbox"]:checked').size() > 0) {
|
||||
return ADis_MissionUpdateDone(MissionID);; // update Mission here as updated or full
|
||||
return ADis_MissionUpdateDone(MissionID); // update Mission here as updated or full
|
||||
}
|
||||
setTimeout(function () {
|
||||
if (['adis-ownmissions', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
||||
@@ -111,7 +111,7 @@ function ADis_CheckMissionAutomatic() {
|
||||
})
|
||||
if (missionLoad != "ADisKrankentransport") {
|
||||
coll = coll.and(function (item) {
|
||||
return item.next_check < Math.floor(new Date().getTime() / 1000)
|
||||
return item.next_check <= Math.floor(new Date().getTime() / 1000)
|
||||
});
|
||||
}
|
||||
return coll.limit(1).toArray()
|
||||
|
||||
Reference in New Issue
Block a user