Resolve #3498100 "Duplicate summary on vertical tabs"
1 unresolved thread
Closes #3498100
Merge request reports
Activity
added 1 commit
- 928b82f1 - Only the summary's first child node should be set as the vertical tab title
added 1 commit
- 42c530f8 - Improve explanation of code changes in comment
added 1 commit
- 6fa1a679 - Add test coverage for vertical-tabs form elements with dynamic summaries
85 85 $details.each(function () { 86 86 const $that = $(this); 87 87 const $summary = $that.find('> summary'); 88 // Summary elements often have 2 child nodes: a text title and a 89 // dynamic summary wrapped in <span>. To set the vertical tab title, 90 // we only want to copy the summary title, which is the first child 91 // node. 92 const title = 93 $summary.length && $summary[0].childNodes.length 94 ? $summary[0].firstChild.textContent 95 : ''; - Comment on lines +92 to +95Edited by Théodore Biadala
changed this line in version 7 of the diff
added 184 commits
-
dce4041d...d81484de - 177 commits from branch
project:11.x
- fdb4b775 - Only the summary's first child node should be set as the vertical tab title
- 165acb4c - Fix lint issues
- 61fc0c13 - Improve explanation of code changes in comment
- 5e8cb00e - Add test coverage for vertical-tabs form elements with dynamic summaries
- 7a6b4d04 - Fix PHP coding standards issues
- fd10df5e - Fix PHPStan issues
- bdd45173 - Optimizing JS code changes
Toggle commit list-
dce4041d...d81484de - 177 commits from branch
Please register or sign in to reply