This commit is contained in:
2018-12-19 16:05:37 +01:00
parent 579facabbc
commit c137f47e4a
3 changed files with 14 additions and 6 deletions

10
dist/autoloaderV2.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Wed Dec 19 2018 16:02:18 GMT+0100 (CET)*/
/*Generated on:Wed Dec 19 2018 16:05:37 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -18658,8 +18658,12 @@ class AutomaticDispose {
setTimeout(() => {
self.UpdateMissionsToDone(self.MissionID).then(() => {
tellParent(`console.log('ok:${window.name}:${self.MissionID}');`);
window.$('#mission_alarm_btn').click();
if ($('#vehicle_show_table_all tr input[type="checkbox"]:checked').length > 0) {
tellParent(`console.log('ok:${window.name}:${self.MissionID}');`);
window.$('#mission_alarm_btn').click();
} else {
tellParent(`window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
}
});
}, 250);