Merge branch 'master' of github.com:ZoneMinder/zoneminder
This commit is contained in:
commit
72f96ed1dd
File diff suppressed because one or more lines are too long
|
@ -38,8 +38,21 @@ function initPage() {
|
|||
var deleteBtn = $j('#deleteBtn');
|
||||
var table = $j('#eventTable');
|
||||
|
||||
// Define the icons used in the bootstrap-table top-right toolbar
|
||||
var icons = {
|
||||
paginationSwitchDown: 'fa-caret-square-o-down',
|
||||
paginationSwitchUp: 'fa-caret-square-o-up',
|
||||
refresh: 'fa-sync',
|
||||
toggleOff: 'fa-toggle-off',
|
||||
toggleOn: 'fa-toggle-on',
|
||||
columns: 'fa-th-list',
|
||||
fullscreen: 'fa-arrows-alt',
|
||||
detailOpen: 'fa-plus',
|
||||
detailClose: 'fa-minus'
|
||||
}
|
||||
|
||||
// Init the bootstrap-table
|
||||
$j('#eventTable').bootstrapTable();
|
||||
$j('#eventTable').bootstrapTable('destroy').bootstrapTable({ icons: icons });
|
||||
|
||||
// Hide these columns on first run when no cookie is saved
|
||||
if ( !getCookie("zmEventsTable.bs.table.columns") ) {
|
||||
|
|
Loading…
Reference in New Issue