Still working on network online offline detection...
This commit is contained in:
@@ -14,7 +14,7 @@ async function render_event_file_records() {
|
||||
looping_tbl_event_file = true;
|
||||
|
||||
console.log('Iterating through the tbl_event_file table...');
|
||||
await tbl_event_file.iterate(function(value, key, iteration) {
|
||||
let tbl_event_file_result = await tbl_event_file.iterate(function(value, key, iteration) {
|
||||
let tbl_file_id = value.id;
|
||||
let tbl_hosted_file_id = value.hosted_file_id;
|
||||
let tbl_event_id = value.event_id;
|
||||
@@ -213,8 +213,15 @@ async function render_event_file_records() {
|
||||
}).then(function() {
|
||||
console.log('idb_to_ui: Iterate tbl_event_file looking for files to add is complete');
|
||||
looping_tbl_event_file = false;
|
||||
return true;
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log('Something went wrong in function render_event_file_records.');
|
||||
console.log(error);
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
index_open_file_buttons('open_local_file');
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user