v2 up oav9a

This commit is contained in:
2018-11-28 21:01:37 +01:00
parent 54a05be229
commit d89026bf81
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Nov 28 2018 20:54:50 GMT+0100 (CET)*/ /*Generated on:Wed Nov 28 2018 21:01:36 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+3 -2
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Nov 28 2018 20:54:50 GMT+0100 (CET)*/ /*Generated on:Wed Nov 28 2018 21:01:36 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -4668,7 +4668,7 @@ class AutomaticDispose {
}).each((myWunsch) => { }).each((myWunsch) => {
console.log('that.CollectRescueSprechwuensche: remove', myWunsch); console.log('that.CollectRescueSprechwuensche: remove', myWunsch);
if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") { if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") {
return that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID);
} }
}) })
return resolve(); return resolve();
@@ -4695,6 +4695,7 @@ class AutomaticDispose {
}).then((Wunsch) => { }).then((Wunsch) => {
if (Wunsch !== undefined) { if (Wunsch !== undefined) {
Wunsch.each((myWunsch) => { Wunsch.each((myWunsch) => {
console.table(myWunsch);
let VehicleID = myWunsch.vehicleID; let VehicleID = myWunsch.vehicleID;
that.UpdateRescueSprechwunschToDone(VehicleID).then(() => { that.UpdateRescueSprechwunschToDone(VehicleID).then(() => {
if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") { if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") {
+2 -1
View File
@@ -193,7 +193,7 @@ class AutomaticDispose {
}).each((myWunsch) => { }).each((myWunsch) => {
console.log('that.CollectRescueSprechwuensche: remove', myWunsch); console.log('that.CollectRescueSprechwuensche: remove', myWunsch);
if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") { if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") {
return that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID);
} }
}) })
return resolve(); return resolve();
@@ -220,6 +220,7 @@ class AutomaticDispose {
}).then((Wunsch) => { }).then((Wunsch) => {
if (Wunsch !== undefined) { if (Wunsch !== undefined) {
Wunsch.each((myWunsch) => { Wunsch.each((myWunsch) => {
console.table(myWunsch);
let VehicleID = myWunsch.vehicleID; let VehicleID = myWunsch.vehicleID;
that.UpdateRescueSprechwunschToDone(VehicleID).then(() => { that.UpdateRescueSprechwunschToDone(VehicleID).then(() => {
if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") { if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") {