init bootstrap-table only once
parent
16a593e904
commit
b4450fecec
|
@ -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]"
|
||||
|
|
|
@ -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]"
|
||||
|
|
|
@ -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") ) {
|
||||
|
|
|
@ -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") ) {
|
||||
|
|
Loading…
Reference in New Issue