mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
One attempt to fix the 'datatable double-request' problem.
This commit is contained in:
parent
0c520476a3
commit
6f3e9033c2
|
@ -31,7 +31,7 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
$('.snipe-table').bootstrapTable('destroy').bootstrapTable({
|
||||
$('.snipe-table').bootstrapTable({
|
||||
classes: 'table table-responsive table-no-bordered',
|
||||
ajaxOptions: {
|
||||
headers: {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
id="activityReport"
|
||||
data-url="{{ route('api.activity.index') }}"
|
||||
data-mobile-responsive="true"
|
||||
data-toggle="table"
|
||||
{{-- data-toggle="table" --}}
|
||||
class="table table-striped snipe-table"
|
||||
data-export-options='{
|
||||
"fileName": "activity-report-{{ date('Y-m-d') }}",
|
||||
|
|
Loading…
Reference in a new issue