v2 golameoamvaoxüp

This commit is contained in:
2018-11-28 21:22:19 +01:00
parent 27ae1b5ce5
commit 6306739366
3 changed files with 6 additions and 6 deletions

View File

@@ -264,7 +264,7 @@ class AutomaticDispose {
if ($("h4:contains('Eigene Krankenhäuser')").length > 0 || $("h4:contains('Verbandskrankenhäuser')").length > 0) {
this.Collect_Hospitals();
} else {
VehicleID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
let VehicleID = document.location.pathname.substr(document.location.pathname.lastIndexOf("/") + 1);
this.RemoveRescueSprechwunschFromQueue(VehicleID).then((deleteCount) => {
$("#adis-sprechwunsch-rescue-frame").attr("src", "");
$("#adis-sprechwunsch-rescue-frame").attr("vehicle_id", "empty");
@@ -607,7 +607,7 @@ class AutomaticDispose {
});
that.Jails.reverse();
if (Jails.length > 0) {
if (that.Jails.length > 0) {
this.Send_Vehicle_To_Jail()
} else {
$("#mission_vehicle_driving tbody, #mission_vehicle_at_mission tbody").find("tr").each(function () {