This commit is contained in:
2018-12-17 19:18:42 +01:00
parent be5a7ff61d
commit 443539d9ed
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:11:20 GMT+0100 (CET)*/ /*Generated on:Mon Dec 17 2018 19:18:42 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+7 -7
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:11:20 GMT+0100 (CET)*/ /*Generated on:Mon Dec 17 2018 19:18:42 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -18722,7 +18722,7 @@ class AutomaticDispose {
const runnerIframe = self.ADisSettings.runner_iframes[runnerID]; const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
$('#' + runnerIframe).attr("src", ''); $('#' + runnerIframe).attr("src", '');
$('#' + runnerIframe).attr("mission_id", 'empty'); $('#' + runnerIframe).attr("mission_id", 'empty');
setTimeout(self.OpenNextMission.bind(self), 1000, Runner); setTimeout(self.OpenNextMission.bind(self), 500, Runner);
} }
UpdateMissionsToDone(MissionID) { UpdateMissionsToDone(MissionID) {
@@ -18777,7 +18777,7 @@ class AutomaticDispose {
} }
}).then((Wunsche) => { }).then((Wunsche) => {
if (typeof Wunsche === "undefined") { if (typeof Wunsche === "undefined") {
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner); return setTimeout(self.OpenNextMission.bind(self), 500, Runner);
} }
Wunsche.sort((a, b) => { Wunsche.sort((a, b) => {
return a.next_check - b.next_check; return a.next_check - b.next_check;
@@ -18900,13 +18900,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 return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
}); });
} else { } else {
setTimeout(function () {
if (['adis-ownmissions', 'adis-plannedeventss', 'adis-krankentransporte'].indexOf(window.name) != -1) { if (['adis-ownmissions', 'adis-plannedeventss', 'adis-krankentransporte'].indexOf(window.name) != -1) {
self.CheckMissionAutomatic(); self.CheckMissionAutomatic();
} else if (['adis-verbandmission', 'adis-verbandmission-event'].indexOf(window.name) != -1) { } else if (['adis-verbandmission', 'adis-verbandmission-event'].indexOf(window.name) != -1) {
self.WorkVerbandMission(); self.WorkVerbandMission();
} }
}, 250);
} }
} }
@@ -19121,9 +19121,9 @@ class AutomaticDispose {
} else { } else {
setTimeout(function () { setTimeout(function () {
alarming(self) alarming(self)
}, 750); }, 250);
} }
}, 500); }, 150);
} }
+6 -6
View File
@@ -1062,7 +1062,7 @@ class AutomaticDispose {
const runnerIframe = self.ADisSettings.runner_iframes[runnerID]; const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
$('#' + runnerIframe).attr("src", ''); $('#' + runnerIframe).attr("src", '');
$('#' + runnerIframe).attr("mission_id", 'empty'); $('#' + runnerIframe).attr("mission_id", 'empty');
setTimeout(self.OpenNextMission.bind(self), 1000, Runner); setTimeout(self.OpenNextMission.bind(self), 500, Runner);
} }
UpdateMissionsToDone(MissionID) { UpdateMissionsToDone(MissionID) {
@@ -1117,7 +1117,7 @@ class AutomaticDispose {
} }
}).then((Wunsche) => { }).then((Wunsche) => {
if (typeof Wunsche === "undefined") { if (typeof Wunsche === "undefined") {
return setTimeout(self.OpenNextMission.bind(self), 1000, Runner); return setTimeout(self.OpenNextMission.bind(self), 500, Runner);
} }
Wunsche.sort((a, b) => { Wunsche.sort((a, b) => {
return a.next_check - b.next_check; 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 return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
}); });
} else { } else {
setTimeout(function () {
if (['adis-ownmissions', 'adis-plannedeventss', 'adis-krankentransporte'].indexOf(window.name) != -1) { if (['adis-ownmissions', 'adis-plannedeventss', 'adis-krankentransporte'].indexOf(window.name) != -1) {
self.CheckMissionAutomatic(); self.CheckMissionAutomatic();
} else if (['adis-verbandmission', 'adis-verbandmission-event'].indexOf(window.name) != -1) { } else if (['adis-verbandmission', 'adis-verbandmission-event'].indexOf(window.name) != -1) {
self.WorkVerbandMission(); self.WorkVerbandMission();
} }
}, 250);
} }
} }
@@ -1461,9 +1461,9 @@ class AutomaticDispose {
} else { } else {
setTimeout(function () { setTimeout(function () {
alarming(self) alarming(self)
}, 750); }, 250);
} }
}, 500); }, 150);
} }