v2 fix transact
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 17:06:29 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 17:09:29 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
+7
-4
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Wed Dec 19 2018 17:06:29 GMT+0100 (CET)*/
|
/*Generated on:Wed Dec 19 2018 17:09:29 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -17291,8 +17291,9 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddRescueSprechwunschToQueue(WunschID) {
|
AddRescueSprechwunschToQueue(WunschID) {
|
||||||
|
let self = this
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
return this.ADisDB.ADisSprechwunsch.put({
|
return self.ADisDB.ADisSprechwunsch.put({
|
||||||
vehicleID: WunschID,
|
vehicleID: WunschID,
|
||||||
done: 'false'
|
done: 'false'
|
||||||
})
|
})
|
||||||
@@ -17303,8 +17304,9 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
|
|
||||||
UpdateRescueSprechwunschToDone(WunschID) {
|
UpdateRescueSprechwunschToDone(WunschID) {
|
||||||
|
let self = this
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
return this.ADisDB.ADisSprechwunsch.put({
|
return self.ADisDB.ADisSprechwunsch.put({
|
||||||
vehicleID: WunschID,
|
vehicleID: WunschID,
|
||||||
done: 'true'
|
done: 'true'
|
||||||
})
|
})
|
||||||
@@ -18126,8 +18128,9 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddAvailableMissions(Mission) {
|
AddAvailableMissions(Mission) {
|
||||||
|
let self = this;
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisAvailabelMissions], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisAvailabelMissions], async () => {
|
||||||
return this.ADisDB.ADisAvailabelMissions.put({
|
return self.ADisDB.ADisAvailabelMissions.put({
|
||||||
missionID: Mission.id,
|
missionID: Mission.id,
|
||||||
type: Mission.type,
|
type: Mission.type,
|
||||||
name: Mission.name,
|
name: Mission.name,
|
||||||
|
|||||||
+6
-3
@@ -284,8 +284,9 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddRescueSprechwunschToQueue(WunschID) {
|
AddRescueSprechwunschToQueue(WunschID) {
|
||||||
|
let self = this
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
return this.ADisDB.ADisSprechwunsch.put({
|
return self.ADisDB.ADisSprechwunsch.put({
|
||||||
vehicleID: WunschID,
|
vehicleID: WunschID,
|
||||||
done: 'false'
|
done: 'false'
|
||||||
})
|
})
|
||||||
@@ -296,8 +297,9 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
|
|
||||||
UpdateRescueSprechwunschToDone(WunschID) {
|
UpdateRescueSprechwunschToDone(WunschID) {
|
||||||
|
let self = this
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => {
|
||||||
return this.ADisDB.ADisSprechwunsch.put({
|
return self.ADisDB.ADisSprechwunsch.put({
|
||||||
vehicleID: WunschID,
|
vehicleID: WunschID,
|
||||||
done: 'true'
|
done: 'true'
|
||||||
})
|
})
|
||||||
@@ -885,8 +887,9 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddAvailableMissions(Mission) {
|
AddAvailableMissions(Mission) {
|
||||||
|
let self = this;
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisAvailabelMissions], async () => {
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisAvailabelMissions], async () => {
|
||||||
return this.ADisDB.ADisAvailabelMissions.put({
|
return self.ADisDB.ADisAvailabelMissions.put({
|
||||||
missionID: Mission.id,
|
missionID: Mission.id,
|
||||||
type: Mission.type,
|
type: Mission.type,
|
||||||
name: Mission.name,
|
name: Mission.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user