jails
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Fri Jan 11 2019 04:15:03 GMT+0100 (CET)*/
|
/*Generated on:Fri Jan 11 2019 04:18:11 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
+5
-5
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Fri Jan 11 2019 04:15:03 GMT+0100 (CET)*/
|
/*Generated on:Fri Jan 11 2019 04:18:11 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17788,7 +17788,7 @@ class AutomaticDispose {
|
|||||||
var JailHref = this.Jails[0].href
|
var JailHref = this.Jails[0].href
|
||||||
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
tellParent(`console.log('wunsch:1000:done:${window.name}:${MissionID}');window.AutomaticDisposeCall.FreeIframe('${window.name}');`);
|
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('${window.name}');},250);`);
|
||||||
document.location.href = document.location.origin + JailHref;
|
document.location.href = document.location.origin + JailHref;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -18421,9 +18421,9 @@ class AutomaticDispose {
|
|||||||
const self = this;
|
const self = this;
|
||||||
const runnerID = self.ADisSettings.runner.indexOf(Runner)
|
const runnerID = self.ADisSettings.runner.indexOf(Runner)
|
||||||
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
||||||
if (runnerID === -1 && Runner == 'adis-sprechwunsch-police') {
|
if (Runner == 'adis-sprechwunsch-police') {
|
||||||
$('#' + runnerIframe).attr("src", '');
|
$('#' + Runner).attr("src", '');
|
||||||
$('#' + runnerIframe).attr("mission_id", 'empty');
|
$('#' + Runner).attr("mission_id", 'empty');
|
||||||
} else {
|
} else {
|
||||||
$('#' + runnerIframe).attr("src", '');
|
$('#' + runnerIframe).attr("src", '');
|
||||||
$('#' + runnerIframe).attr("mission_id", 'empty');
|
$('#' + runnerIframe).attr("mission_id", 'empty');
|
||||||
|
|||||||
+4
-4
@@ -668,7 +668,7 @@ class AutomaticDispose {
|
|||||||
var JailHref = this.Jails[0].href
|
var JailHref = this.Jails[0].href
|
||||||
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
var MissionID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
|
||||||
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
tellParent(`console.log('wunsch:1000:done:${window.name}:${MissionID}');window.AutomaticDisposeCall.FreeIframe('${window.name}');`);
|
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('${window.name}');},250);`);
|
||||||
document.location.href = document.location.origin + JailHref;
|
document.location.href = document.location.origin + JailHref;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1067,9 +1067,9 @@ class AutomaticDispose {
|
|||||||
const self = this;
|
const self = this;
|
||||||
const runnerID = self.ADisSettings.runner.indexOf(Runner)
|
const runnerID = self.ADisSettings.runner.indexOf(Runner)
|
||||||
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
||||||
if (runnerID === -1 && Runner == 'adis-sprechwunsch-police') {
|
if (Runner == 'adis-sprechwunsch-police') {
|
||||||
$('#' + runnerIframe).attr("src", '');
|
$('#' + Runner).attr("src", '');
|
||||||
$('#' + runnerIframe).attr("mission_id", 'empty');
|
$('#' + Runner).attr("mission_id", 'empty');
|
||||||
} else {
|
} else {
|
||||||
$('#' + runnerIframe).attr("src", '');
|
$('#' + runnerIframe).attr("src", '');
|
||||||
$('#' + runnerIframe).attr("mission_id", 'empty');
|
$('#' + runnerIframe).attr("mission_id", 'empty');
|
||||||
|
|||||||
Reference in New Issue
Block a user