This commit is contained in:
2019-01-11 01:26:36 +01:00
parent d95d44bfe6
commit 8909a25074

View File

@@ -1400,7 +1400,8 @@ class AutomaticDispose {
return
}
return self.ProcessWaterRescue()
}).then(() => {
})
.then(() => {
if (self.OweSecure && $('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:checked').length == 0) {
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').length > 0) {
@@ -1408,10 +1409,10 @@ class AutomaticDispose {
}
}
// console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
console.log("WILL KLICK SEND")
window.console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
window.console.log("WILL KLICK SEND")
setTimeout(() => {
console.log("WILL KLICK SEND2")
window.console.log("WILL KLICK SEND2")
self.UpdateMissionsToDone(self.MissionID).then(() => {
tellParent(`console.log('ok:${window.name}:${self.MissionID}');`);
window.$('#mission_alarm_btn').click();