diff --git a/dist/autoloader.js b/dist/autoloader.js index d055d37..6aeb34a 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -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_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index b0ed2bc..df469e7 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -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 * =============================================== @@ -18722,7 +18722,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) { @@ -18777,7 +18777,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; @@ -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 }); } 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); + } } @@ -19121,9 +19121,9 @@ class AutomaticDispose { } else { setTimeout(function () { alarming(self) - }, 750); + }, 250); } - }, 500); + }, 150); } diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 13ccebf..cfe66e6 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -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); }