Skip to content

Commit

Permalink
fix issue 7625
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorTrutnev authored Nov 28, 2024
1 parent 585a6e0 commit fc85ad5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/extensions/sticky-header/bootstrap-table-sticky-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ $.BootstrapTable = class extends $.BootstrapTable {

this.$stickyHeader = this.$header.clone(true, true)

// copy header inputs value in $stickyHeader clone

Check failure on line 94 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 94 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs
var $headerInputs = this.$header.find("select, input")

Check failure on line 95 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 95 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs

Check failure on line 95 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected var, use let or const instead

Check failure on line 95 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote
var _$stickyHeaderInputs = this.$stickyHeader.find("select, input")

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 2 tabs

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Unexpected var, use let or const instead

Check failure on line 96 in src/extensions/sticky-header/bootstrap-table-sticky-header.js

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote
$headerInputs.each(function(i) {
var headerInputValue = $(this).val()
_$stickyHeaderInputs.eq(i).val(headerInputValue)
});

if (this.options.filterControl) {
$(this.$stickyHeader).off('keyup change mouseup').on('keyup change mouse', function (e) {
const $target = $(e.target)
Expand Down

0 comments on commit fc85ad5

Please sign in to comment.