jails
This commit is contained in:
@@ -668,7 +668,7 @@ class AutomaticDispose {
|
||||
var JailHref = this.Jails[0].href
|
||||
var 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('${window.name}');},250);`);
|
||||
tellParent(`console.log('sprechwunsch:${window.name}:${MissionID}');setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('adis-sprechwunsch-police-frame');},250);`);
|
||||
document.location.href = document.location.origin + JailHref;
|
||||
});
|
||||
}
|
||||
@@ -1067,7 +1067,7 @@ class AutomaticDispose {
|
||||
const self = this;
|
||||
const runnerID = self.ADisSettings.runner.indexOf(Runner)
|
||||
const runnerIframe = self.ADisSettings.runner_iframes[runnerID];
|
||||
if (Runner == 'adis-sprechwunsch-police') {
|
||||
if (Runner == 'adis-sprechwunsch-police-frame') {
|
||||
$('#' + Runner).attr("src", '');
|
||||
$('#' + Runner).attr("mission_id", 'empty');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user