From e92796bf0b68a8a50da57e77dfce099764d155fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Sat, 24 Nov 2018 21:39:43 +0100 Subject: [PATCH] =?UTF-8?q?gjw93=C3=9Fa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/autoloader.js | 13 +++++++------ dist/standalone.js | 2 +- script/mission/handler.js | 11 ++++++----- 3 files changed, 14 insertions(+), 12 deletions(-) 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); } })