v2 uo a98fu98

This commit is contained in:
2018-12-17 18:58:20 +01:00
parent b900993fea
commit 9cb3c40e90
3 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 18:53:22 GMT+0100 (CET)*/
/*Generated on:Mon Dec 17 2018 18:58:20 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();
+7 -7
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 18:53:22 GMT+0100 (CET)*/
/*Generated on:Mon Dec 17 2018 18:58:20 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -19094,21 +19094,21 @@ 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")
setTimeout(() => {
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")
self.UpdateMissionsToDone(self.MissionID).then(async () => {
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},2500);`);
if (window.$("#mission-form a.btn.btn-success.btn-sm.alert_notify_alliance").length > 0 && self.MissionConfig.share) {
if (window.$("a.btn.btn-success.btn-sm.alert_notify_alliance").length > 0 && self.MissionConfig.share) {
window.$('input[type=checkbox]').prop('checked', false);
await self.WorkVerbandMission(true);
window.$('#allianceShareText').val('Kein RD, die Patiernten gehören mir! Anonsten kann nach 2h geschlossen werden. Danke für die Aufmerksamkeit!')
window.$("#mission-form a.btn.btn-success.btn-sm.alert_notify_alliance").click();
window.$("a.btn.btn-success.btn-sm.alert_notify_alliance").click();
} else {
window.$('#mission_alarm_btn').click();
}
});
}, 250);
})
}
+6 -6
View File
@@ -1434,21 +1434,21 @@ 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")
setTimeout(() => {
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")
self.UpdateMissionsToDone(self.MissionID).then(async () => {
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');},2500);`);
if (window.$("#mission-form a.btn.btn-success.btn-sm.alert_notify_alliance").length > 0 && self.MissionConfig.share) {
if (window.$("a.btn.btn-success.btn-sm.alert_notify_alliance").length > 0 && self.MissionConfig.share) {
window.$('input[type=checkbox]').prop('checked', false);
await self.WorkVerbandMission(true);
window.$('#allianceShareText').val('Kein RD, die Patiernten gehören mir! Anonsten kann nach 2h geschlossen werden. Danke für die Aufmerksamkeit!')
window.$("#mission-form a.btn.btn-success.btn-sm.alert_notify_alliance").click();
window.$("a.btn.btn-success.btn-sm.alert_notify_alliance").click();
} else {
window.$('#mission_alarm_btn').click();
}
});
}, 250);
})
}