From d6cb11494005990c84894a5c0499e619e49a5103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 11 Feb 2019 16:35:03 +0100 Subject: [PATCH] fix navtree hack in recent doxygen version hash is always '#' making our check failing The fix is to fallback to default used later one --- Documentation/doc/resources/1.8.13/hacks.js | 4 ++++ Documentation/doc/resources/1.8.14/hacks.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Documentation/doc/resources/1.8.13/hacks.js b/Documentation/doc/resources/1.8.13/hacks.js index 4c0436c91d2..7d81b479149 100644 --- a/Documentation/doc/resources/1.8.13/hacks.js +++ b/Documentation/doc/resources/1.8.13/hacks.js @@ -46,6 +46,10 @@ $(document).ready(function() { // override gotoNode from navtree.js gotoNode = function (o,subIndex,root,hash,relpath) { var nti = navTreeSubIndices[subIndex][root+hash]; + if (!nti) + { + nti = navTreeSubIndices[subIndex][root]; + } if(nti && (nti[0] === 1 && nti[0])) { nti.splice(1, 1); } diff --git a/Documentation/doc/resources/1.8.14/hacks.js b/Documentation/doc/resources/1.8.14/hacks.js index 4c0436c91d2..7d81b479149 100644 --- a/Documentation/doc/resources/1.8.14/hacks.js +++ b/Documentation/doc/resources/1.8.14/hacks.js @@ -46,6 +46,10 @@ $(document).ready(function() { // override gotoNode from navtree.js gotoNode = function (o,subIndex,root,hash,relpath) { var nti = navTreeSubIndices[subIndex][root+hash]; + if (!nti) + { + nti = navTreeSubIndices[subIndex][root]; + } if(nti && (nti[0] === 1 && nti[0])) { nti.splice(1, 1); }