diff --git a/dist/autoloader.js b/dist/autoloader.js index 16db24f..7fb6585 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -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_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index 427d023..d29f5fd 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -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 * =============================================== @@ -4668,7 +4668,7 @@ class AutomaticDispose { }).each((myWunsch) => { console.log('that.CollectRescueSprechwuensche: remove', myWunsch); if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") { - return that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); + that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); } }) return resolve(); @@ -4695,6 +4695,7 @@ class AutomaticDispose { }).then((Wunsch) => { if (Wunsch !== undefined) { Wunsch.each((myWunsch) => { + console.table(myWunsch); let VehicleID = myWunsch.vehicleID; that.UpdateRescueSprechwunschToDone(VehicleID).then(() => { if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") { diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 22bacc8..c8dcd27 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -193,7 +193,7 @@ class AutomaticDispose { }).each((myWunsch) => { console.log('that.CollectRescueSprechwuensche: remove', myWunsch); if ($("#vehicle_list_" + myWunsch.vehicleID).find(".building_list_fms").text() != "5") { - return that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); + that.RemoveRescueSprechwunschFromQueue(myWunsch.vehicleID); } }) return resolve(); @@ -220,6 +220,7 @@ class AutomaticDispose { }).then((Wunsch) => { if (Wunsch !== undefined) { Wunsch.each((myWunsch) => { + console.table(myWunsch); let VehicleID = myWunsch.vehicleID; that.UpdateRescueSprechwunschToDone(VehicleID).then(() => { if ($("#adis-sprechwunsch-rescue-frame").attr("vehicle_id") == "empty") {