Changes

Jump to navigation Jump to search
m
no edit summary
Line 37: Line 37:  
 
 
this.EnqueuePDIO = function( sw, c1, c2, c3 ) {
 
this.EnqueuePDIO = function( sw, c1, c2, c3 ) {
return Enquire( PersonalDataDataBaseName, CurrentPerson, sw, c1, c2, c3 );
+
var k = Enquire( PersonalDataDataBaseName, CurrentPerson, sw, c1, c2, c3 );
 +
k.onsuccess = function () {
 +
console.log("xturn 5")
 +
return k;
 +
}
 +
console.log("xturn 4")
 +
return k;
 
}
 
}
   Line 57: Line 63:  
// retrieve record, make record.field1 = field2, push back
 
// retrieve record, make record.field1 = field2, push back
   −
function Enquire( pddbname, record, sqitch, control_1, control_2, control_3 ) {
+
async function Enquire( pddbname, record, sqitch, control_1, control_2, control_3 ) {
 
var pddb = window.indexedDB.open(pddbname, 3);
 
var pddb = window.indexedDB.open(pddbname, 3);
 
var inp_obj;
 
var inp_obj;
530

edits

Navigation menu