update with some fixes

This commit is contained in:
2019-02-20 00:03:02 +01:00
parent 2fffc9e024
commit 7f347ae32c
3 changed files with 9382 additions and 9350 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Tue Feb 19 2019 17:58:25 GMT+0100 (CET)*/
/*Generated on:Wed Feb 20 2019 00:03:01 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();
+20 -4
View File
@@ -1,4 +1,4 @@
/*Generated on:Tue Feb 19 2019 17:58:25 GMT+0100 (CET)*/
/*Generated on:Wed Feb 20 2019 00:03:01 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -4541,9 +4541,14 @@
// 977642907
// console.log('mission_participation_add', JSON.stringify(id))
}
missionFinish(id) {
// 977642907
// console.log('mission_participation_add', JSON.stringify(id))
}
missionDelete(id) {
// 976896964
// console.log('missionDelete', JSON.stringify(id))
window.AutomaticDisposeCall.RemoveMissionsFromQueue(String(id));
}
missionInvolved(id, bool) {
// 977642907, true
@@ -4598,6 +4603,14 @@
}
// console.log('missionMarkerAdd', JSON.stringify(data))
}
prisonerDelete(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
}
patientFinish(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
}
patientDelete(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
@@ -18439,7 +18452,7 @@
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
// console.log('Check_Call_Police_Active', MissionID)
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
tellParent(`/*console.log('sprechwunsch:${window.name}:${MissionID}');*/setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
});
}
}
@@ -18639,7 +18652,7 @@
} else {
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
tellParent(`/*console.log('sprechwunsch-no-action:${window.name}:${MissionID}');*/setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
});
}
}
@@ -20677,7 +20690,7 @@
return NeedMoreVehicles;
}
}
try {
$(document).ready(function () {
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
//var isHidden = $div.is(':hidden');
@@ -20724,3 +20737,6 @@
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
}
});
} catch (e){
console.error("Error %s\nLocation: %o", e.stack, window.location)
}
+19 -3
View File
@@ -66,9 +66,14 @@
// 977642907
// console.log('mission_participation_add', JSON.stringify(id))
}
missionFinish(id) {
// 977642907
// console.log('mission_participation_add', JSON.stringify(id))
}
missionDelete(id) {
// 976896964
// console.log('missionDelete', JSON.stringify(id))
window.AutomaticDisposeCall.RemoveMissionsFromQueue(String(id));
}
missionInvolved(id, bool) {
// 977642907, true
@@ -123,6 +128,14 @@
}
// console.log('missionMarkerAdd', JSON.stringify(data))
}
prisonerDelete(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
}
patientFinish(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
}
patientDelete(id) {
// 527339744
// console.log('patientDelete', JSON.stringify(id))
@@ -640,7 +653,7 @@
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
// console.log('Check_Call_Police_Active', MissionID)
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
tellParent(`/*console.log('sprechwunsch:${window.name}:${MissionID}');*/setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
});
}
}
@@ -840,7 +853,7 @@
} else {
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
tellParent(`/*console.log('sprechwunsch-no-action:${window.name}:${MissionID}');*/setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},500);`);
});
}
}
@@ -2644,7 +2657,7 @@
return NeedMoreVehicles;
}
}
try {
$(document).ready(function () {
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
//var isHidden = $div.is(':hidden');
@@ -2691,3 +2704,6 @@
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
}
});
} catch (e){
console.error("Error %s\nLocation: %o", e.stack, window.location)
}