Skip to content

Commit 87e3547

Browse files
committed
issue doxygen#11717 [BUG] In the page-nav the undocumented ENUMERATION CONSTANTS become part of the enumerated type's name
1 parent 7d0b2df commit 87e3547

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/html/navtree.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,10 @@ function initNavTree(toroot,relpath,allMembersFile) {
740740
tr = tr.prev();
741741
}
742742
id = $(tr).attr('id');
743-
const text = is_anon_enum ? 'anonymous enum' : $(this).find('a:first,b,div.groupHeader').text();
743+
let text = is_anon_enum ? 'anonymous enum' : $(this).find('a:first,div.groupHeader').text();
744+
if (text.length==0) { // look for undocumented member as well
745+
text = $(this).find('b:first').text();
746+
}
744747
let isMemberGroupHeader = $(tr).hasClass('groupHeader');
745748
if ($(tr).is(":visible") && last_id!=id && id!==undefined) {
746749
if (isMemberGroupHeader && inMemberGroup) {

0 commit comments

Comments
 (0)