v2 8aug98aug98a0ur98qegfji

This commit is contained in:
2018-12-17 19:58:15 +01:00
parent ad2c6bae21
commit 13b2c5b265
3 changed files with 18 additions and 4 deletions

View File

@@ -1374,6 +1374,7 @@ class AutomaticDispose {
self.StartAlarmProcess();
} else {
self.UpdateMissionsToDone(self.MissionID);
return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
}
}
});
@@ -1439,7 +1440,13 @@ class AutomaticDispose {
// window.$('#allianceShareText').val('Kein RD, die Patiernten gehören mir! Anonsten kann nach 2h geschlossen werden. Danke für die Aufmerksamkeit!')
// window.$("a.btn.btn-success.btn-sm.alert_notify_alliance").click();
//} else {
window.$('#mission_alarm_btn').click();
if ($('#vehicle_show_table_all input[type="checkbox"]:checked').length){
console.log('send now')
window.$('#mission_alarm_btn').click();
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');},500);`);
} else {
tellParent(`setTimeout(function(){console.log('ok:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');},500);`);
}
//}
});