ab container
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Jan 21 2019 06:07:03 GMT+0100 (CET)*/
|
/*Generated on:Mon Jan 21 2019 06:15:00 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
+4
-5
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Jan 21 2019 06:07:03 GMT+0100 (CET)*/
|
/*Generated on:Mon Jan 21 2019 06:15:00 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17691,11 +17691,10 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
Check_Call_AB_Active() {
|
Check_Call_AB_Active() {
|
||||||
let self = this;
|
let self = this;
|
||||||
console.log($("a:contains('Alarmieren')").length)
|
|
||||||
console.log($("h1:contains('AB-')").length)
|
|
||||||
console.log($("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length)
|
|
||||||
if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) {
|
if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) {
|
||||||
$("a:contains('Alarmieren')").first().click();
|
let href = $("a:contains('Alarmieren')").first().attr("href");
|
||||||
|
console.log(href)
|
||||||
|
document.location.href = document.location.origin + href;
|
||||||
} else {
|
} else {
|
||||||
self.Check_Call_Hospitals();
|
self.Check_Call_Hospitals();
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-4
@@ -485,11 +485,10 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
Check_Call_AB_Active() {
|
Check_Call_AB_Active() {
|
||||||
let self = this;
|
let self = this;
|
||||||
console.log($("a:contains('Alarmieren')").length)
|
|
||||||
console.log($("h1:contains('AB-')").length)
|
|
||||||
console.log($("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length)
|
|
||||||
if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) {
|
if ($("h1:contains('AB-')").length > 0 && $("div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) {
|
||||||
$("a:contains('Alarmieren')").first().click();
|
let href = $("a:contains('Alarmieren')").first().attr("href");
|
||||||
|
console.log(href)
|
||||||
|
document.location.href = document.location.origin + href;
|
||||||
} else {
|
} else {
|
||||||
self.Check_Call_Hospitals();
|
self.Check_Call_Hospitals();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user