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

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);
})
}