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
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:52:23 GMT+0100 (CET)*/
/*Generated on:Mon Dec 17 2018 19:58:14 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();
+9 -2
View File
@@ -1,4 +1,4 @@
/*Generated on:Mon Dec 17 2018 19:52:23 GMT+0100 (CET)*/
/*Generated on:Mon Dec 17 2018 19:58:14 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -19034,6 +19034,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
}
}
});
@@ -19099,7 +19100,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);`);
}
//}
});
+8 -1
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);`);
}
//}
});