diff --git a/dist/autoloader.js b/dist/autoloader.js index f1a10b9..65928cf 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 17 2018 19:08:03 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 17 2018 19:10:59 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 890954e..f66b477 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 17 2018 19:08:03 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 17 2018 19:10:59 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -17448,6 +17448,7 @@ class AutomaticDispose { self.MaxVehicleID = 86 self.MissionType = null self.MissionID = null + self.MissionData = null self.MyRunner = null self.MyRunnerSettings = null self.OweSecure = false @@ -18863,6 +18864,7 @@ class AutomaticDispose { return Wunsch.count(function (count) { if (count > 0) { return Wunsch.each((mywunsch) => { + self.MissionData = mywunsch; return self.MainHandler() }); } else { @@ -19080,7 +19082,7 @@ class AutomaticDispose { } console.log("Clicked Vehicles:"+self.MissionID+":"+self.MissionConfig.type+" ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked')); - console.log("WILL KLICK SEND") + console.log("WILL KLICK SEND", self.MissionData) self.UpdateMissionsToDone(self.MissionID).then(async () => { tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},2500);`); diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index a2a6f6c..ae2ffc7 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -22,6 +22,7 @@ class AutomaticDispose { self.MaxVehicleID = 86 self.MissionType = null self.MissionID = null + self.MissionData = null self.MyRunner = null self.MyRunnerSettings = null self.OweSecure = false @@ -1203,6 +1204,7 @@ class AutomaticDispose { return Wunsch.count(function (count) { if (count > 0) { return Wunsch.each((mywunsch) => { + self.MissionData = mywunsch; return self.MainHandler() }); } else { @@ -1420,7 +1422,7 @@ class AutomaticDispose { } console.log("Clicked Vehicles:"+self.MissionID+":"+self.MissionConfig.type+" ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked')); - console.log("WILL KLICK SEND") + console.log("WILL KLICK SEND", self.MissionData) self.UpdateMissionsToDone(self.MissionID).then(async () => { tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},2500);`);