v2 up aof8auoj
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 16:12:04 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 16:13:48 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();
|
||||||
|
|||||||
Vendored
+5
-3
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 16:12:04 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 16:13:48 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18471,9 +18471,9 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
if (['adis-ownmissions', 'adis-plannedevents', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
if (['adis-ownmissions', 'adis-plannedevents', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
||||||
console.log("WILL SEND?")
|
console.log("WILL SEND?")
|
||||||
self.CheckMissionAutomatic();
|
return 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();
|
return self.WorkVerbandMission();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -18552,6 +18552,7 @@ class AutomaticDispose {
|
|||||||
self.MyRunner = self.ADisSettings.runner[runnerID];
|
self.MyRunner = self.ADisSettings.runner[runnerID];
|
||||||
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
||||||
if (self.MyRunnerSettings && self.MyRunner) {
|
if (self.MyRunnerSettings && self.MyRunner) {
|
||||||
|
console.log("debug 1");
|
||||||
self.ADSettings().then((setting) => {
|
self.ADSettings().then((setting) => {
|
||||||
if (setting[self.MyRunnerSettings] === 'true') {
|
if (setting[self.MyRunnerSettings] === 'true') {
|
||||||
let where = {
|
let where = {
|
||||||
@@ -18568,6 +18569,7 @@ class AutomaticDispose {
|
|||||||
return coll.limit(1).toArray()
|
return coll.limit(1).toArray()
|
||||||
}
|
}
|
||||||
}).then((Missions) => {
|
}).then((Missions) => {
|
||||||
|
console.log("debug 2", Missions);
|
||||||
if (Missions.length > 0) {
|
if (Missions.length > 0) {
|
||||||
var Mission = Missions[0];
|
var Mission = Missions[0];
|
||||||
if (self.MyRunner == 'os') {
|
if (self.MyRunner == 'os') {
|
||||||
|
|||||||
+4
-2
@@ -1230,9 +1230,9 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
if (['adis-ownmissions', 'adis-plannedevents', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
if (['adis-ownmissions', 'adis-plannedevents', 'adis-krankentransporte'].indexOf(window.name) != -1) {
|
||||||
console.log("WILL SEND?")
|
console.log("WILL SEND?")
|
||||||
self.CheckMissionAutomatic();
|
return 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();
|
return self.WorkVerbandMission();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1311,6 +1311,7 @@ class AutomaticDispose {
|
|||||||
self.MyRunner = self.ADisSettings.runner[runnerID];
|
self.MyRunner = self.ADisSettings.runner[runnerID];
|
||||||
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
self.MyRunnerSettings = self.ADisSettings.runner_settings[runnerID];
|
||||||
if (self.MyRunnerSettings && self.MyRunner) {
|
if (self.MyRunnerSettings && self.MyRunner) {
|
||||||
|
console.log("debug 1");
|
||||||
self.ADSettings().then((setting) => {
|
self.ADSettings().then((setting) => {
|
||||||
if (setting[self.MyRunnerSettings] === 'true') {
|
if (setting[self.MyRunnerSettings] === 'true') {
|
||||||
let where = {
|
let where = {
|
||||||
@@ -1327,6 +1328,7 @@ class AutomaticDispose {
|
|||||||
return coll.limit(1).toArray()
|
return coll.limit(1).toArray()
|
||||||
}
|
}
|
||||||
}).then((Missions) => {
|
}).then((Missions) => {
|
||||||
|
console.log("debug 2", Missions);
|
||||||
if (Missions.length > 0) {
|
if (Missions.length > 0) {
|
||||||
var Mission = Missions[0];
|
var Mission = Missions[0];
|
||||||
if (self.MyRunner == 'os') {
|
if (self.MyRunner == 'os') {
|
||||||
|
|||||||
Reference in New Issue
Block a user