pav0
This commit is contained in:
6
dist/autoloader.js
vendored
6
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 19:21:08 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 19:23:22 GMT+0100 (CET)*/
|
||||
var AutomaticDispose_Branch = "master";
|
||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||
var da_lss_adis_time = new Date().getTime();
|
||||
@@ -5211,7 +5211,7 @@ ADisDB.on("ready", () => {
|
||||
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) {
|
||||
@@ -5308,7 +5308,7 @@ ADisDB.on("ready", () => {
|
||||
})
|
||||
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()
|
||||
|
||||
2
dist/standalone.js
vendored
2
dist/standalone.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sat Nov 24 2018 19:21:08 GMT+0100 (CET)*/
|
||||
/*Generated on:Sat Nov 24 2018 19:23:22 GMT+0100 (CET)*/
|
||||
function includesString(string1, string2) {
|
||||
return string1.toLowerCase().includes(string2.toLowerCase());
|
||||
}
|
||||
|
||||
@@ -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