sprechwunsch....
This commit is contained in:
9
dist/autoloaderV2.js
vendored
9
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Fri Jan 11 2019 03:27:44 GMT+0100 (CET)*/
|
||||
/*Generated on:Fri Jan 11 2019 03:32:38 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -17590,11 +17590,12 @@ class AutomaticDispose {
|
||||
|
||||
|
||||
Check_Call_Police_Active() {
|
||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||
if ($('#h2_prisoners').length > 0) {
|
||||
console.log('Check_Call_Police_Active', MissionID);
|
||||
this.Collect_Jails();
|
||||
} else {
|
||||
let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||
// console.log('Check_Call_Police_Active', MissionID)
|
||||
console.log('REMOVE: Check_Call_Police_Active', MissionID);
|
||||
this.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||
@@ -17748,6 +17749,7 @@ class AutomaticDispose {
|
||||
});
|
||||
|
||||
self.Jails.reverse();
|
||||
console.log(self.Jails)
|
||||
if (self.Jails.length > 0) {
|
||||
self.Send_Vehicle_To_Jail()
|
||||
} else {
|
||||
@@ -17784,6 +17786,7 @@ class AutomaticDispose {
|
||||
|
||||
// Gefängnis einlieferung
|
||||
Send_Vehicle_To_Jail() {
|
||||
console.log("Send_Vehicle_To_Jail")
|
||||
var JailHref = this.Jails[0].href
|
||||
document.location.href = document.location.origin + JailHref;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user