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

13
dist/autoloader.js vendored
View File

@@ -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_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
@@ -17838,16 +17838,17 @@ ADisDB.on("ready", () => {
last_check: CurrentTime, last_check: CurrentTime,
next_check: CurrentTime + 60 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')); 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) { if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
console.log("WILL KLICK SEND") console.log("WILL KLICK SEND")
setTimeout(() => { setTimeout(() => {
$('#mission_alarm_btn').click(); $('#mission_alarm_btn').click();
tellParent(`setTimeout(function(){
console.log('ok:${window.name}:${MissionID}');
ADis_MissionUpdateDone('${window.name}', '${MissionID}');
},1000);
`);
}, 250); }, 250);
} }
}) })

2
dist/standalone.js vendored
View File

@@ -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) { function includesString(string1, string2) {
return string1.toLowerCase().includes(string2.toLowerCase()); return string1.toLowerCase().includes(string2.toLowerCase());
} }

View File

@@ -169,16 +169,17 @@ function AD_StartAlarmProcess() {
last_check: CurrentTime, last_check: CurrentTime,
next_check: CurrentTime + 60 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')); 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) { if (['adis-ownmissions', 'adis-krankentransporte', 'adis-verbandmission'].indexOf(window.name) !== -1) {
console.log("WILL KLICK SEND") console.log("WILL KLICK SEND")
setTimeout(() => { setTimeout(() => {
$('#mission_alarm_btn').click(); $('#mission_alarm_btn').click();
tellParent(`setTimeout(function(){
console.log('ok:${window.name}:${MissionID}');
ADis_MissionUpdateDone('${window.name}', '${MissionID}');
},1000);
`);
}, 250); }, 250);
} }
}) })