diff --git a/dist/autoloader.js b/dist/autoloader.js index e6da37e..3fa206b 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Sat Nov 24 2018 21:34:12 GMT+0100 (CET)*/ +/*Generated on:Sat Nov 24 2018 21:39:42 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(); @@ -17838,16 +17838,17 @@ ADisDB.on("ready", () => { 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); } }) diff --git a/dist/standalone.js b/dist/standalone.js index 15fcfca..773be9f 100644 --- a/dist/standalone.js +++ b/dist/standalone.js @@ -1,4 +1,4 @@ -/*Generated on:Sat Nov 24 2018 21:34:12 GMT+0100 (CET)*/ +/*Generated on:Sat Nov 24 2018 21:39:42 GMT+0100 (CET)*/ function includesString(string1, string2) { return string1.toLowerCase().includes(string2.toLowerCase()); } diff --git a/script/mission/handler.js b/script/mission/handler.js index 574670b..433e7b5 100755 --- a/script/mission/handler.js +++ b/script/mission/handler.js @@ -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); } })