v2 up handler 03i9afpo

This commit is contained in:
2018-12-02 10:13:26 +01:00
parent c395794da9
commit f54dccb1aa
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Sun Dec 02 2018 10:10:37 GMT+0100 (CET)*/ /*Generated on:Sun Dec 02 2018 10:13:26 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();
+5 -2
View File
@@ -1,4 +1,4 @@
/*Generated on:Sun Dec 02 2018 10:10:37 GMT+0100 (CET)*/ /*Generated on:Sun Dec 02 2018 10:13:26 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -17095,7 +17095,7 @@ class AutomaticDispose {
// - // -
if (window.location.pathname.indexOf("/missions/") !== -1 && window.name == 'adis-sprechwunsch-police') { if (window.location.pathname.indexOf("/missions/") !== -1 && window.name == 'adis-sprechwunsch-police') {
self.Check_Call_Police_Active(); self.Check_Call_Police_Active();
} else { } else if (window.location.pathname.indexOf("/missions/") !== -1 && window.name != 'adis-sprechwunsch-police') {
self.StartMission(); self.StartMission();
} }
@@ -18285,6 +18285,9 @@ class AutomaticDispose {
} }
console.log("MissionID", self.MissionID); console.log("MissionID", self.MissionID);
console.log("MissionType", self.MissionType); console.log("MissionType", self.MissionType);
console.log("Window", window.name);
console.log("self.MyRunner", self.MyRunner);
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
self.ADSettings().then((setting) => { self.ADSettings().then((setting) => {
if (setting[self.MyRunnerSettings] != 'true') { if (setting[self.MyRunnerSettings] != 'true') {
return self.ADisDB.ADisMissions.where({ return self.ADisDB.ADisMissions.where({
+4 -1
View File
@@ -159,7 +159,7 @@ class AutomaticDispose {
// - // -
if (window.location.pathname.indexOf("/missions/") !== -1 && window.name == 'adis-sprechwunsch-police') { if (window.location.pathname.indexOf("/missions/") !== -1 && window.name == 'adis-sprechwunsch-police') {
self.Check_Call_Police_Active(); self.Check_Call_Police_Active();
} else { } else if (window.location.pathname.indexOf("/missions/") !== -1 && window.name != 'adis-sprechwunsch-police') {
self.StartMission(); self.StartMission();
} }
@@ -1115,6 +1115,9 @@ class AutomaticDispose {
} }
console.log("MissionID", self.MissionID); console.log("MissionID", self.MissionID);
console.log("MissionType", self.MissionType); console.log("MissionType", self.MissionType);
console.log("Window", window.name);
console.log("self.MyRunner", self.MyRunner);
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
self.ADSettings().then((setting) => { self.ADSettings().then((setting) => {
if (setting[self.MyRunnerSettings] != 'true') { if (setting[self.MyRunnerSettings] != 'true') {
return self.ADisDB.ADisMissions.where({ return self.ADisDB.ADisMissions.where({