v2 fix send ...

This commit is contained in:
2018-12-03 14:32:41 +01:00
parent 944e3798d4
commit 1c53ed7e19
3 changed files with 4 additions and 4 deletions

View File

@@ -1168,7 +1168,7 @@ class AutomaticDispose {
if (self.includesString($('#iframe-inside-container > div.alert.fade.in.alert-success').text(), "wurde erfolgreich informiert") /*|| $('#vehicle_show_table_all input[type="checkbox"]:checked').size() > 0*/ ) {
console.log("SEND: " + self.MissionID);
return self.UpdateMissionsToDone(self.MissionID).then(() => {
return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');`); // update Mission here as updated or full
return tellParent(`console.log('handler:2000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
});
} else {
setTimeout(function () {