Merge pull request #3748 from Simpler1/patch-6

Refresh table on show
pull/3765/head
Isaac Connor 2023-09-05 13:05:36 -04:00 committed by GitHub
commit 2b2c43e630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -420,6 +420,11 @@ function initPage() {
}
});
window.onpageshow = function(evt) {
console.log('Refreshing table');
table.bootstrapTable('refresh');
};
table.bootstrapTable('resetSearch');
// The table is initially given a hidden style, so now that we are done rendering, show it
table.show();