diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-27 20:10:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-10-27 20:10:16 (GMT) |
commit | 0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6 (patch) | |
tree | 7b31e0941321a116a730c80e26726da9202178c3 /src/search_js.h | |
parent | 1042ef3a191bd0f399f1a2a20fe259c14fe6faf9 (diff) | |
download | Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.zip Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.gz Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.bz2 |
Release-1.6.1-20091027
Diffstat (limited to 'src/search_js.h')
-rw-r--r-- | src/search_js.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/search_js.h b/src/search_js.h index 51fdb00..b24b562 100644 --- a/src/search_js.h +++ b/src/search_js.h @@ -238,10 +238,10 @@ " if (child.className=='SelectItem')\n" " {\n" " var node = child.firstChild;\n" -" if (j==id)\n" -" {\n" +" if (j==id)\n" +" {\n" " node.innerHTML='•';\n" -" } \n" +" }\n" " else\n" " {\n" " node.innerHTML=' ';\n" @@ -324,7 +324,7 @@ " var resultsPageWithSearch;\n" " var hasResultsPage;\n" "\n" -" if (indexSectionsWithContent[this.searchIndex].charAt(code-32) == '1')\n" +" if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1')\n" " {\n" " resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html';\n" " resultsPageWithSearch = resultsPage+'?'+escape(searchValue);\n" @@ -453,20 +453,20 @@ " if (element)\n" " {\n" " if (element.style.display == 'block')\n" -" { \n" -" element.style.display = 'none'; \n" +" {\n" +" element.style.display = 'none';\n" " }\n" " else\n" -" { \n" -" element.style.display = 'block'; \n" +" {\n" +" element.style.display = 'block';\n" " }\n" " }\n" " }\n" "\n" -" // Searches for the passed string. If there is no parameter, \n" +" // Searches for the passed string. If there is no parameter,\n" " // it takes it from the URL query.\n" " //\n" -" // Always returns true, since other documents may try to call it \n" +" // Always returns true, since other documents may try to call it\n" " // and that may or may not be possible.\n" " this.Search = function(search)\n" " {\n" @@ -501,20 +501,20 @@ " matches++;\n" " }\n" " else\n" -" { \n" -" row.style.display = 'none'; \n" +" {\n" +" row.style.display = 'none';\n" " }\n" " }\n" " i++;\n" " }\n" " document.getElementById(\"Searching\").style.display='none';\n" " if (matches == 0) // no results\n" -" { \n" -" document.getElementById(\"NoMatches\").style.display='block'; \n" +" {\n" +" document.getElementById(\"NoMatches\").style.display='block';\n" " }\n" " else // at least one result\n" -" { \n" -" document.getElementById(\"NoMatches\").style.display='none'; \n" +" {\n" +" document.getElementById(\"NoMatches\").style.display='none';\n" " }\n" " this.lastMatchCount = matches;\n" " return true;\n" @@ -606,9 +606,9 @@ " while (1) // search for last child\n" " {\n" " tmpElem = document.getElementById('Item'+newIndex+'_c'+n);\n" -" if (tmpElem) \n" +" if (tmpElem)\n" " {\n" -" focusItem = tmpElem; \n" +" focusItem = tmpElem;\n" " }\n" " else // found it!\n" " {\n" |