This commit is contained in:
2018-11-24 21:39:43 +01:00
parent 1c6640bb21
commit e92796bf0b
3 changed files with 14 additions and 12 deletions

View File

@@ -169,16 +169,17 @@ function AD_StartAlarmProcess() {
last_check: CurrentTime,
next_check: CurrentTime + 60
};
tellParent(`setTimeout(function(){
console.log('ok:${window.name}:${MissionID}');
ADis_MissionUpdateDone('${window.name}', '${MissionID}');
},1000);
`);
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(() => {
$('#mission_alarm_btn').click();
tellParent(`setTimeout(function(){
console.log('ok:${window.name}:${MissionID}');
ADis_MissionUpdateDone('${window.name}', '${MissionID}');
},1000);
`);
}, 250);
}
})