fix ab container

This commit is contained in:
2019-01-21 06:00:03 +01:00
parent f26661e355
commit 90d952b5b7
4 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/*Generated on:Mon Jan 21 2019 05:58:16 GMT+0100 (CET)*/
/*Generated on:Mon Jan 21 2019 06:00:03 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -17692,9 +17692,9 @@ class AutomaticDispose {
Check_Call_AB_Active() {
let self = this;
console.log($("h1:contains('AB-')").length)
console.log($("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length)
if ($("h1:contains('AB-')").length > 0 && $("#iframe-inside-container > div.row > div.alert.alert-info:contains('Welches Zugfahrzeug soll zum Transport genutzt werden')").length > 0) {
$("#vehicle_show_table > tbody > tr:nth-child(1) > td:nth-child(1) > a:contains('Alarmieren')").click();
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) {
$("#vehicle_show_table a:contains('Alarmieren')").click();
} else {
self.Check_Call_Hospitals();
}