init bootstrap-table only once

pull/3054/head
Andrew Bauer 2020-09-23 14:32:40 -05:00
parent 16a593e904
commit b4450fecec
4 changed files with 2 additions and 4 deletions

View File

@ -134,7 +134,6 @@ getBodyTopHTML();
<div class="row justify-content-center">
<table
id="eventTable"
data-toggle="table"
data-pagination="true"
data-show-pagination-switch="true"
data-page-list="[10, 25, 50, 100, 200, All]"

View File

@ -125,7 +125,6 @@ xhtmlHeaders(__FILE__, translate('Frames').' - '.$Event->Id());
<div class="row justify-content-center">
<table
id="framesTable"
data-toggle="table"
data-pagination="true"
data-show-pagination-switch="true"
data-page-list="[10, 25, 50, 100, 200, All]"

View File

@ -121,7 +121,7 @@ function initPage() {
};
// Init the bootstrap-table
table.bootstrapTable('destroy').bootstrapTable({icons: icons});
table.bootstrapTable({icons: icons});
// Hide these columns on first run when no cookie is saved
if ( !getCookie("zmEventsTable.bs.table.columns") ) {

View File

@ -53,7 +53,7 @@ function initPage() {
};
// Init the bootstrap-table
table.bootstrapTable('destroy').bootstrapTable({icons: icons});
table.bootstrapTable({icons: icons});
// Hide these columns on first run when no cookie is saved
if ( !getCookie("zmFramesTable.bs.table.columns") ) {