v2 uaüpf9u

This commit is contained in:
2018-12-19 16:18:58 +01:00
parent 25397f17eb
commit 9ca42c9210
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Dec 19 2018 16:17:20 GMT+0100 (CET)*/ /*Generated on:Wed Dec 19 2018 16:18:58 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 -4
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Dec 19 2018 16:17:20 GMT+0100 (CET)*/ /*Generated on:Wed Dec 19 2018 16:18:58 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -18590,7 +18590,8 @@ class AutomaticDispose {
GetMissionConfiguration(MissionType) { GetMissionConfiguration(MissionType) {
const self = this; const self = this;
console.log("debug 3") console.log("debug 3")
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], () => { return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], function () {
const self = this;
console.log("debug 3", MissionType, MissionType.toString()) console.log("debug 3", MissionType, MissionType.toString())
return self.ADisDB.ADisAvailabelMissions.get({ return self.ADisDB.ADisAvailabelMissions.get({
type: MissionType.toString() type: MissionType.toString()
@@ -18605,11 +18606,11 @@ class AutomaticDispose {
available: false, available: false,
next_check: CurrentTime + 60 next_check: CurrentTime + 60
}; };
self.UpdateOwnMissionsToDone(self.MissionID, updateData); self.UpdateMissionsToDone(self.MissionID);
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
} }
}); });
}); }.bind(self));
} }
+4 -3
View File
@@ -1349,7 +1349,8 @@ class AutomaticDispose {
GetMissionConfiguration(MissionType) { GetMissionConfiguration(MissionType) {
const self = this; const self = this;
console.log("debug 3") console.log("debug 3")
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], () => { return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], function () {
const self = this;
console.log("debug 3", MissionType, MissionType.toString()) console.log("debug 3", MissionType, MissionType.toString())
return self.ADisDB.ADisAvailabelMissions.get({ return self.ADisDB.ADisAvailabelMissions.get({
type: MissionType.toString() type: MissionType.toString()
@@ -1364,11 +1365,11 @@ class AutomaticDispose {
available: false, available: false,
next_check: CurrentTime + 60 next_check: CurrentTime + 60
}; };
self.UpdateOwnMissionsToDone(self.MissionID, updateData); self.UpdateMissionsToDone(self.MissionID);
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
} }
}); });
}); }.bind(self));
} }