fix abcontainer

This commit is contained in:
2019-01-21 05:56:49 +01:00
parent 58d71e7038
commit f8b9ec8497
4 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/*Generated on:Mon Jan 21 2019 05:49:09 GMT+0100 (CET)*/
/*Generated on:Mon Jan 21 2019 05:56:49 GMT+0100 (CET)*/
/*
* Dexie.js - a minimalistic wrapper for IndexedDB
* ===============================================
@@ -17691,10 +17691,9 @@ class AutomaticDispose {
Check_Call_AB_Active() {
let self = this;
if ($('#iframe-inside-container > h1').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 > td:nth-child(1) > a:contains('Alarmieren')").first().click();
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();
} else {
self.Check_Call_Hospitals();
}
}