Still working on network online offline detection...

This commit is contained in:
Scott Idem
2020-03-06 10:19:50 -05:00
parent bb492e8f71
commit 988eceb13e
9 changed files with 119 additions and 85 deletions

View File

@@ -16,7 +16,7 @@ async function render_event_presenter_records(events) {
//console.log(presentations_presenters_lists);
// First: Loop through the presenters table looking for presenters for each presentation list
await tbl_event_presenter.iterate(function(value, key, iteration) {
let tbl_event_presenter_result = await tbl_event_presenter.iterate(function(value, key, iteration) {
let tbl_session_id = value.event_session_id;
let tbl_presentation_id = value.event_presentation_id;
let tbl_presenter_id = value.id;
@@ -207,6 +207,12 @@ async function render_event_presenter_records(events) {
}).then(function() {
console.log('idb_to_ui: Iterate tbl_event_presenter looking for presenters to update, add, or remove is complete');
looping_tbl_event_presenter = false;
return true;
})
.catch(function (error) {
console.log('Something went wrong in function render_event_presenter_records.');
console.log(error);
return false;
});
return true;