diff --git a/dist/autoloader.js b/dist/autoloader.js index 0167fee..55e606e 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Sun Dec 02 2018 22:14:59 GMT+0100 (CET)*/ +/*Generated on:Sun Dec 02 2018 22:20:53 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(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index c138782..bff23a4 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Sun Dec 02 2018 22:14:59 GMT+0100 (CET)*/ +/*Generated on:Sun Dec 02 2018 22:20:53 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -17408,6 +17408,8 @@ class AutomaticDispose { if ($('#h2_prisoners').length > 0) { this.Collect_Jails(); } else { + let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); + console.log('Check_Call_Police_Active', MissionID) this.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => { $("#adis-sprechwunsch-police-frame").attr("src", ""); $("#adis-sprechwunsch-police-frame").attr("mission_id", "empty"); diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 60ecefe..30ae07d 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -472,6 +472,8 @@ class AutomaticDispose { if ($('#h2_prisoners').length > 0) { this.Collect_Jails(); } else { + let MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1); + console.log('Check_Call_Police_Active', MissionID) this.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => { $("#adis-sprechwunsch-police-frame").attr("src", ""); $("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");