update with some fixes
This commit is contained in:
Vendored
+1
-1
@@ -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_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
|
|||||||
Vendored
+20
-4
@@ -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
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -4541,9 +4541,14 @@
|
|||||||
// 977642907
|
// 977642907
|
||||||
// console.log('mission_participation_add', JSON.stringify(id))
|
// console.log('mission_participation_add', JSON.stringify(id))
|
||||||
}
|
}
|
||||||
|
missionFinish(id) {
|
||||||
|
// 977642907
|
||||||
|
// console.log('mission_participation_add', JSON.stringify(id))
|
||||||
|
}
|
||||||
missionDelete(id) {
|
missionDelete(id) {
|
||||||
// 976896964
|
// 976896964
|
||||||
// console.log('missionDelete', JSON.stringify(id))
|
// console.log('missionDelete', JSON.stringify(id))
|
||||||
|
window.AutomaticDisposeCall.RemoveMissionsFromQueue(String(id));
|
||||||
}
|
}
|
||||||
missionInvolved(id, bool) {
|
missionInvolved(id, bool) {
|
||||||
// 977642907, true
|
// 977642907, true
|
||||||
@@ -4598,6 +4603,14 @@
|
|||||||
}
|
}
|
||||||
// console.log('missionMarkerAdd', JSON.stringify(data))
|
// 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) {
|
patientDelete(id) {
|
||||||
// 527339744
|
// 527339744
|
||||||
// console.log('patientDelete', JSON.stringify(id))
|
// console.log('patientDelete', JSON.stringify(id))
|
||||||
@@ -18439,7 +18452,7 @@
|
|||||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
// console.log('Check_Call_Police_Active', MissionID)
|
// console.log('Check_Call_Police_Active', MissionID)
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
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 {
|
} else {
|
||||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
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;
|
return NeedMoreVehicles;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
||||||
//var isHidden = $div.is(':hidden');
|
//var isHidden = $div.is(':hidden');
|
||||||
@@ -20724,3 +20737,6 @@
|
|||||||
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
|
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} catch (e){
|
||||||
|
console.error("Error %s\nLocation: %o", e.stack, window.location)
|
||||||
|
}
|
||||||
+19
-3
@@ -66,9 +66,14 @@
|
|||||||
// 977642907
|
// 977642907
|
||||||
// console.log('mission_participation_add', JSON.stringify(id))
|
// console.log('mission_participation_add', JSON.stringify(id))
|
||||||
}
|
}
|
||||||
|
missionFinish(id) {
|
||||||
|
// 977642907
|
||||||
|
// console.log('mission_participation_add', JSON.stringify(id))
|
||||||
|
}
|
||||||
missionDelete(id) {
|
missionDelete(id) {
|
||||||
// 976896964
|
// 976896964
|
||||||
// console.log('missionDelete', JSON.stringify(id))
|
// console.log('missionDelete', JSON.stringify(id))
|
||||||
|
window.AutomaticDisposeCall.RemoveMissionsFromQueue(String(id));
|
||||||
}
|
}
|
||||||
missionInvolved(id, bool) {
|
missionInvolved(id, bool) {
|
||||||
// 977642907, true
|
// 977642907, true
|
||||||
@@ -123,6 +128,14 @@
|
|||||||
}
|
}
|
||||||
// console.log('missionMarkerAdd', JSON.stringify(data))
|
// 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) {
|
patientDelete(id) {
|
||||||
// 527339744
|
// 527339744
|
||||||
// console.log('patientDelete', JSON.stringify(id))
|
// console.log('patientDelete', JSON.stringify(id))
|
||||||
@@ -640,7 +653,7 @@
|
|||||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
// console.log('Check_Call_Police_Active', MissionID)
|
// console.log('Check_Call_Police_Active', MissionID)
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
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 {
|
} else {
|
||||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
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;
|
return NeedMoreVehicles;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
var $div = $("a.missing_vehicles_load:contains('Fahrzeuganzeige begrenzt! Fehlende Fahrzeuge laden!')");
|
||||||
//var isHidden = $div.is(':hidden');
|
//var isHidden = $div.is(':hidden');
|
||||||
@@ -2691,3 +2704,6 @@
|
|||||||
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
|
window.AutomaticDisposeCall = new AutomaticDispose(window.faye);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} catch (e){
|
||||||
|
console.error("Error %s\nLocation: %o", e.stack, window.location)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user