debugg ab container

This commit is contained in:
2019-01-21 05:58:17 +01:00
parent f8b9ec8497
commit f26661e355
4 changed files with 7 additions and 3 deletions

View File

@@ -485,6 +485,8 @@ 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();
} else {