Skip to content

Commit 8ccf148

Browse files
committed
Fixed #10881 - bad merge with bootstrap-tables changes
Signed-off-by: snipe <[email protected]>
1 parent b205681 commit 8ccf148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/partials/bootstrap-table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
return false;
3131
}
3232
33-
$('.snipe-table').bootstrapTable({
33+
$('.snipe-table').bootstrapTable('destroy').each(function () {
3434
data_export_options = $(this).attr('data-export-options');
3535
export_options = data_export_options? JSON.parse(data_export_options): {};
3636
export_options['htmlContent'] = true; //always enforce this on the given data-export-options (to prevent XSS)
37-
37+
3838
$(this).bootstrapTable({
3939
classes: 'table table-responsive table-no-bordered',
4040
ajaxOptions: {

0 commit comments

Comments
 (0)