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
+1 -1
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)*/
var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();
+3 -4
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();
}
}
+1 -1
View File
@@ -10,7 +10,7 @@
<title>LEITSTELLENSPIEL.DE - baue deine eigene Leitstelle, in deiner Stadt!</title>
<meta content="authenticity_token" name="csrf-param" />
<meta content="Qqbe8i4Zw5SLX1S5LvRYzThP+pu9+LuFhKlyV8t4dTQ=" name="csrf-token" />
<meta content="RqSQkYY/yU4PZDphyAsCfq8rKol3R8P8YQApKIrPtVc=" name="csrf-token" />
<script src="/assets/application-a789289a71061d030b76a864e1d16075.js" type="text/javascript"></script>
+2 -3
View File
@@ -485,10 +485,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();
}
}