diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-09-16 18:34:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-09-16 18:34:41 (GMT) |
commit | 143b39e71a45892c2b8e8bf22f5d448b441bf36a (patch) | |
tree | 11aba0942df62a4f1090d7ffd3f4cb98c0c3b6ed /src/ftvhelp.cpp | |
parent | 360bc2535d89e99bbd159ca695813dcdba49c71b (diff) | |
download | Doxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.zip Doxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.tar.gz Doxygen-143b39e71a45892c2b8e8bf22f5d448b441bf36a.tar.bz2 |
Release-1.4.4-20050817
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r-- | src/ftvhelp.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index 27310ca..49c9c20 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -663,30 +663,6 @@ void FTVHelp::generateTreeView() t << " <script type=\"text/javascript\">\n"; t << " <!-- // Hide script from old browsers\n"; t << " \n"; - //t << " function findChildNode(node, name) \n"; - //t << " {\n"; - //t << " var temp;\n"; - //t << " if (node == null) \n"; - //t << " {\n"; - //t << " return null;\n"; - //t << " } \n"; - //t << " node = node.firstChild;\n"; - //t << " while (node != null) \n"; - //t << " {\n"; - //t << " if (node.nodeName == name) \n"; - //t << " {\n"; - //t << " return node;\n"; - //t << " }\n"; - //t << " temp = findChildNode(node, name);\n"; - //t << " if (temp != null) \n"; - //t << " {\n"; - //t << " return temp;\n"; - //t << " }\n"; - //t << " node = node.nextSibling;\n"; - //t << " }\n"; - //t << " return null;\n"; - //t << " }\n"; - //t << "\n"; /* User has clicked on a node (folder or +/-) in the tree */ t << " function toggleFolder(id, imageNode) \n"; @@ -702,23 +678,12 @@ void FTVHelp::generateTreeView() t << " imageNode = imageNode.previousSibling;\n"; t << " l = imageNode.src.length;\n"; t << " }\n"; - //t << " var vl = \"" FTV_ICON_FILE(vertline) "\";\n"; - //t << " if (imageNode != null && imageNode.nodeName != \"IMG\") \n"; - //t << " {\n"; - //t << " imageNode = findChildNode(imageNode, \"IMG\");\n"; - //t << " if (imageNode!=null) l = imageNode.src.length;\n"; - //t << " }\n"; t << " if (folder == null) \n"; t << " {\n"; t << " } \n"; /* Node controls a open section, we need to close it */ t << " else if (folder.style.display == \"block\") \n"; t << " {\n"; - //t << " while (imageNode != null && \n"; - //t << " imageNode.src.substring(l-vl.length,l) == vl)\n"; - //t << " {\n"; - //t << " imageNode = imageNode.nextSibling;\n"; - //t << " }\n"; t << " if (imageNode != null) \n"; t << " {\n"; t << " imageNode.nextSibling.src = \"" FTV_ICON_FILE(folderclosed) "\";\n"; @@ -735,11 +700,6 @@ void FTVHelp::generateTreeView() t << " } \n"; t << " else \n"; /* section is closed, we need to open it */ t << " {\n"; - //t << " while (imageNode != null && \n"; - //t << " imageNode.src.substring(l-vl.length,l) == vl)\n"; - //t << " {\n"; - //t << " imageNode = imageNode.nextSibling;\n"; - //t << " }\n"; t << " if (imageNode != null) \n"; t << " {\n"; t << " imageNode.nextSibling.src = \"" FTV_ICON_FILE(folderopen) "\";\n"; |