Skip to content

Commit

Permalink
Merge branch '2.3' into 2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 28, 2025
2 parents 02b164f + 56192c9 commit db4002f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion client/src/legacy/GridField.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,14 @@ $.entwine('ss', function($) {
);
},

// Adds an actions column for the search action if it does not exist already
fixColumns: function (visible) {
this.find('.sortable-header').append('<th class="main col-Actions" />');
this.find('tbody tr').each(function () {
var cell = $(this).find('td:last');
cell.attr('colspan', 2);
// Note we need to add 1 to the current column span, because we're going to add a new column
var colspan = cell.attr('colspan') ?? 1;
cell.attr('colspan', Number(colspan) + 1);
});
var $extraCell = $('<th class="extra" />');
$('.grid-field__filter-header th:last .action').each(function() {
Expand Down

0 comments on commit db4002f

Please sign in to comment.