summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-16 18:34:41 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-09-16 18:34:41 (GMT)
commit3b98221d43ba62088538ead3aa726f81dd9202f9 (patch)
tree11aba0942df62a4f1090d7ffd3f4cb98c0c3b6ed /src/ftvhelp.cpp
parent2620b73bf03f4ecafc9d751691dccb31cc94a4fe (diff)
downloadDoxygen-3b98221d43ba62088538ead3aa726f81dd9202f9.zip
Doxygen-3b98221d43ba62088538ead3aa726f81dd9202f9.tar.gz
Doxygen-3b98221d43ba62088538ead3aa726f81dd9202f9.tar.bz2
Release-1.4.4-20050817
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r--src/ftvhelp.cpp40
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";