diff options
author | albert-github <albert.tests@gmail.com> | 2019-01-18 09:59:56 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-01-18 09:59:56 (GMT) |
commit | e596bf3f21402ed555b305af7649546991bf8c3d (patch) | |
tree | f5d85b61c11903f2e44429087861a58c3d6baf1e /src/index.cpp | |
parent | 6a1b3708a6bc240cea79b3191b0dafacb014fdb6 (diff) | |
download | Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.zip Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.tar.gz Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.tar.bz2 |
Double id for tooltips in XHTML Possible.
The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.cpp b/src/index.cpp index 5d16e4e..6dc8720 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -48,6 +48,7 @@ #include "classlist.h" #include "namespacedef.h" #include "filename.h" +#include "tooltip.h" #define MAX_ITEMS_BEFORE_MULTIPAGE_INDEX 200 #define MAX_ITEMS_BEFORE_QUICK_INDEX 30 @@ -301,9 +302,11 @@ void endFile(OutputList &ol,bool skipNavIndex,bool skipEndContents, ol.writeString("</div><!-- doc-content -->\n"); } } + ol.writeFooter(navPath); // write the footer ol.popGeneratorState(); ol.endFile(); + TooltipManager::instance()->clearTooltips(); // Only clear after the last is written } void endFileWithNavPath(Definition *d,OutputList &ol) |