v2 transact
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 17:28:31 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 17:34:08 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();
|
||||||
|
|||||||
Vendored
+5
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 17:28:31 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 17:34:08 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17277,10 +17277,12 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
self.RescueVehicleFrameWatchDog = setTimeout(async function () {
|
self.RescueVehicleFrameWatchDog = setTimeout(async function () {
|
||||||
let self = this;
|
let self = this;
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
self.RemoveRescueSprechwunschFromQueue(VehicleID).then((deleteCount) => {
|
self.RemoveRescueSprechwunschFromQueue(VehicleID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-rescue-frame").attr("src", "");
|
$("#adis-sprechwunsch-rescue-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-rescue-frame").attr("vehicle_id", "empty");
|
$("#adis-sprechwunsch-rescue-frame").attr("vehicle_id", "empty");
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}.bind(self), 1500);
|
}.bind(self), 1500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -17486,10 +17488,12 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
self.PoliceVehicleFrameWatchDog = setTimeout(async function (MissionID) {
|
self.PoliceVehicleFrameWatchDog = setTimeout(async function (MissionID) {
|
||||||
let self = this;
|
let self = this;
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => {
|
||||||
await self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
await self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}.bind(self), 1500, MissionID);
|
}.bind(self), 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -270,10 +270,12 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
self.RescueVehicleFrameWatchDog = setTimeout(async function () {
|
self.RescueVehicleFrameWatchDog = setTimeout(async function () {
|
||||||
let self = this;
|
let self = this;
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
self.RemoveRescueSprechwunschFromQueue(VehicleID).then((deleteCount) => {
|
self.RemoveRescueSprechwunschFromQueue(VehicleID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-rescue-frame").attr("src", "");
|
$("#adis-sprechwunsch-rescue-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-rescue-frame").attr("vehicle_id", "empty");
|
$("#adis-sprechwunsch-rescue-frame").attr("vehicle_id", "empty");
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}.bind(self), 1500);
|
}.bind(self), 1500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -479,10 +481,12 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
self.PoliceVehicleFrameWatchDog = setTimeout(async function (MissionID) {
|
self.PoliceVehicleFrameWatchDog = setTimeout(async function (MissionID) {
|
||||||
let self = this;
|
let self = this;
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => {
|
||||||
await self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
await self.RemovePoliceSprechwunschFromQueue(MissionID).then((deleteCount) => {
|
||||||
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
$("#adis-sprechwunsch-police-frame").attr("src", "");
|
||||||
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
$("#adis-sprechwunsch-police-frame").attr("mission_id", "empty");
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}.bind(self), 1500, MissionID);
|
}.bind(self), 1500, MissionID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user