Skip to content

Commit

Permalink
Fix missing tabs (I want to replace all of this functionality before …
Browse files Browse the repository at this point in the history
…end of December)
  • Loading branch information
janfaracik committed Nov 20, 2021
1 parent 9980716 commit bb32000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions war/src/main/js/widgets/config/model/ConfigTableMetaData.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function fromConfigTable(configTable) {
// Mark the ancestor <tr>s of the section headers and add a title
sectionHeaders.each(function () {
var sectionHeader = $(this);
var sectionRow = closestTR(sectionHeader);
var sectionRow = sectionHeader;
var sectionTitle = sectionRow.text();

// Remove leading hash from accumulated text in title (from <a> element).
Expand Down Expand Up @@ -110,7 +110,7 @@ function ConfigTableMetaData(configForm, configTable) {
}

ConfigTableMetaData.prototype.getTopRows = function() {
var topRows = this.configTableBody.find('tr, .tr');
var topRows = this.configTableBody.find('tr, .tr, .jenkins-section > .jenkins-section__title');
return topRows;
};

Expand Down

0 comments on commit bb32000

Please sign in to comment.