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
+1 -1
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)*/
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 -3
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);
+6 -2
View File
@@ -1417,8 +1417,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);