mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
some changes in audit view
This commit is contained in:
parent
962111936e
commit
812e47603e
@ -123,7 +123,7 @@ class AuditLog extends HTML
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'text' => 'action',
|
'text' => 'action',
|
||||||
'class' => 'w80px table_action_buttons show_extended_info',
|
'class' => 'w80px show_extended_info',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -187,7 +187,7 @@ class AuditLog extends HTML
|
|||||||
'no_sortable_columns' => [-1],
|
'no_sortable_columns' => [-1],
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => 'date',
|
'field' => 'date',
|
||||||
'direction' => 'asc',
|
'direction' => 'desc',
|
||||||
],
|
],
|
||||||
'search_button_class' => 'sub filter float-right',
|
'search_button_class' => 'sub filter float-right',
|
||||||
'form' => [
|
'form' => [
|
||||||
@ -441,7 +441,7 @@ class AuditLog extends HTML
|
|||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Add event listener for opening and closing details
|
// Add event listener for opening and closing details
|
||||||
$('#audit_logs tbody').on('click', 'td.show_extended_info', function() {
|
$(document).on('click', '#audit_logs tbody tr:has(td.show_extended_info)', function() {
|
||||||
var tr = $(this).closest('tr');
|
var tr = $(this).closest('tr');
|
||||||
var table = $("#<?php echo $this->tableId; ?>").DataTable();
|
var table = $("#<?php echo $this->tableId; ?>").DataTable();
|
||||||
var row = table.row(tr);
|
var row = table.row(tr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user