error handling & run
This commit is contained in:
16
dist/autoloaderV2.js
vendored
16
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Feb 20 2019 01:16:19 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Feb 20 2019 02:32:57 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -19593,7 +19593,7 @@ class AutomaticDispose {
|
||||
}).then((Missions) => {
|
||||
if (Missions.length > 0) {
|
||||
var Mission = Missions[0];
|
||||
if (self.MyRunner == 'os' && ( self.includesString($('#missionH1').text(), '[verband]') || self.includesString($('#missionH1').text(), '[event]') )) {
|
||||
if (self.MyRunner == 'os' && (self.includesString($('#missionH1').text(), '[verband]') || self.includesString($('#missionH1').text(), '[event]'))) {
|
||||
self.OweSecure = true;
|
||||
}
|
||||
self.GetMissionConfiguration(Mission.type);
|
||||
@@ -20723,5 +20723,15 @@ try {
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
console.error("Error %s\nLocation: %o", e.stack, window.location.href)
|
||||
try {
|
||||
console.error("Error %s\n\nLocation: %o", e.stack, window.location.href)
|
||||
const runner = ['adis-krankentransporte-frame', 'adis-ownmissions-frame', 'adis-plannedevents-frame', 'adis-verbandmission-frame', 'adis-verbandmission-event-frame']
|
||||
const runner_iframesName = ['adis-krankentransporte', 'adis-ownmissions', 'adis-plannedevents', 'adis-verbandmission', 'adis-verbandmission-event']
|
||||
const runnderID = runner_iframesName.indexOf(window.name);
|
||||
const MyRunner = runner[runnderID];
|
||||
tellParent(`setTimeout(function(){ window.AutomaticDisposeCall.FreeIframe('${MyRunner}');},250);`);
|
||||
} catch (e) {
|
||||
console.error("Error %s\n\nLocation: %o", e.stack, window.location.href)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user