Skip to content

Commit

Permalink
Merge pull request #31485 from civicrm/5.80
Browse files Browse the repository at this point in the history
5.80
  • Loading branch information
colemanw authored Nov 15, 2024
2 parents d755914 + 3923c8e commit 9a3717d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
} else {
row.collapsed = false;
}
// Button is irrelevant without any descendents; hide it without breaking the layout.
if (!row.data._descendents) {
$element.css('visibility', 'hidden');
}
Expand Down Expand Up @@ -51,7 +52,7 @@
// Hiding rows is simple, just hide all of them, but when un-hiding we need to skip over
// the children of collapsed elements.
if (!hide && ctrl.rows[i].collapsed) {
i += ctrl.rows[i]._descendents;
i += ctrl.rows[i].data._descendents;
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion schema/Financial/FinancialAccount.entityType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'description' => ts('Financial Accounts'),
'log' => TRUE,
'add' => '3.2',
'label_field' => 'name',
'label_field' => 'label',
],
'getPaths' => fn() => [
'add' => 'civicrm/admin/financial/financialAccount/edit?action=add&reset=1',
Expand Down
2 changes: 1 addition & 1 deletion schema/Financial/FinancialType.entityType.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'description' => ts('Formerly civicrm_contribution_type merged into this table in 4.3'),
'log' => TRUE,
'add' => '1.3',
'label_field' => 'name',
'label_field' => 'label',
],
'getPaths' => fn() => [
'add' => 'civicrm/admin/financial/financialType/edit?action=add&reset=1',
Expand Down

0 comments on commit 9a3717d

Please sign in to comment.