Changes

Jump to navigation Jump to search
m
no edit summary
Line 24: Line 24:  
personal_data_id: [ wbEStruct['subclassOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 421 ],
 
personal_data_id: [ wbEStruct['subclassOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 421 ],
 
interface_button_id: [ wbEStruct ['instanceOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 487 ]
 
interface_button_id: [ wbEStruct ['instanceOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 487 ]
};
+
},
 +
wbproc,
 +
current_entity,
 +
pdxdb;
    
$.when(
 
$.when(
Line 37: Line 40:  
console.log('Reporting in');
 
console.log('Reporting in');
   −
var wbproc = new wbContainer(mw, mwEStruct['wbXntity']);
+
wbproc = new wbContainer(mw, mwEStruct['wbXntity']);
    
// Check whether the current page is in a relation of interest to an id of interest
 
// Check whether the current page is in a relation of interest to an id of interest
var current_entity = wbproc.checkentity( relational_id_list );
+
current_entity = wbproc.checkentity( relational_id_list );
 
// This should return an object of relations and ids
 
// This should return an object of relations and ids
   Line 46: Line 49:  
console.log(current_entity);
 
console.log(current_entity);
   −
var h = new idxdbContainer( mw );
+
pdxdb = new idxdbContainer( mw );
h.EnqueuePDIO('update record', Date.now(), Date.now());
+
pdxdb.EnqueuePDIO('update record', Date.now(), Date.now());
    
});
 
});
530

edits

Navigation menu