v2 update 20aufio
This commit is contained in:
30
dist/autoloaderV2.js
vendored
30
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Sun Dec 02 2018 22:03:16 GMT+0100 (CET)*/
|
||||
/*Generated on:Sun Dec 02 2018 22:13:01 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -16960,6 +16960,7 @@ class AutomaticDispose {
|
||||
self.MissionID = null
|
||||
self.MyRunner = null
|
||||
self.MyRunnerSettings = null
|
||||
self.OweSecure = false
|
||||
|
||||
self._ADisVehiclesNeed = {}
|
||||
self.MissionConfig = {}
|
||||
@@ -18443,6 +18444,9 @@ class AutomaticDispose {
|
||||
}).then((Missions) => {
|
||||
if (Missions.length > 0) {
|
||||
var Mission = Missions[0];
|
||||
if (self.MyRunner == 'os'){
|
||||
self.OweSecure = true;
|
||||
}
|
||||
self.GetMissionConfiguration(self.MyRunner == 'kt' ? 147 : Mission.type);
|
||||
}
|
||||
});
|
||||
@@ -18499,17 +18503,23 @@ class AutomaticDispose {
|
||||
.then(async () => {
|
||||
return await self.ProcessWaterRescue()
|
||||
}).then(() => {
|
||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||
if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
|
||||
console.log("WILL KLICK SEND")
|
||||
setTimeout(() => {
|
||||
|
||||
self.UpdateMissionsToDone(self.MissionID).then(() => {
|
||||
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},500);`);
|
||||
window.$('#mission_alarm_btn').click();
|
||||
});
|
||||
}, 250);
|
||||
if (self.OweSecure) {
|
||||
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').size() > 0) {
|
||||
$('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)')[0].click();
|
||||
}
|
||||
}
|
||||
|
||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').size(), $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||
console.log("WILL KLICK SEND")
|
||||
setTimeout(() => {
|
||||
|
||||
self.UpdateMissionsToDone(self.MissionID).then(() => {
|
||||
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},500);`);
|
||||
window.$('#mission_alarm_btn').click();
|
||||
});
|
||||
}, 250);
|
||||
|
||||
})
|
||||
}, 500);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user