summaryrefslogtreecommitdiffstats
path: root/src/search.js
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-10-27 20:10:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-10-27 20:10:16 (GMT)
commit0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6 (patch)
tree7b31e0941321a116a730c80e26726da9202178c3 /src/search.js
parent1042ef3a191bd0f399f1a2a20fe259c14fe6faf9 (diff)
downloadDoxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.zip
Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.gz
Doxygen-0c751ba9f9a73ad649bf64cef4c9fdb82743b2f6.tar.bz2
Release-1.6.1-20091027
Diffstat (limited to 'src/search.js')
-rw-r--r--src/search.js36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/search.js b/src/search.js
index 49655c5..8acef8c 100644
--- a/src/search.js
+++ b/src/search.js
@@ -238,10 +238,10 @@ function SearchBox(name, resultsPath, inFrame, label)
if (child.className=='SelectItem')
{
var node = child.firstChild;
- if (j==id)
- {
+ if (j==id)
+ {
node.innerHTML='&bull;';
- }
+ }
else
{
node.innerHTML='&nbsp;';
@@ -324,7 +324,7 @@ function SearchBox(name, resultsPath, inFrame, label)
var resultsPageWithSearch;
var hasResultsPage;
- if (indexSectionsWithContent[this.searchIndex].charAt(code-32) == '1')
+ if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1')
{
resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html';
resultsPageWithSearch = resultsPage+'?'+escape(searchValue);
@@ -453,20 +453,20 @@ function SearchResults(name)
if (element)
{
if (element.style.display == 'block')
- {
- element.style.display = 'none';
+ {
+ element.style.display = 'none';
}
else
- {
- element.style.display = 'block';
+ {
+ element.style.display = 'block';
}
}
}
- // Searches for the passed string. If there is no parameter,
+ // Searches for the passed string. If there is no parameter,
// it takes it from the URL query.
//
- // Always returns true, since other documents may try to call it
+ // Always returns true, since other documents may try to call it
// and that may or may not be possible.
this.Search = function(search)
{
@@ -501,20 +501,20 @@ function SearchResults(name)
matches++;
}
else
- {
- row.style.display = 'none';
+ {
+ row.style.display = 'none';
}
}
i++;
}
document.getElementById("Searching").style.display='none';
if (matches == 0) // no results
- {
- document.getElementById("NoMatches").style.display='block';
+ {
+ document.getElementById("NoMatches").style.display='block';
}
else // at least one result
- {
- document.getElementById("NoMatches").style.display='none';
+ {
+ document.getElementById("NoMatches").style.display='none';
}
this.lastMatchCount = matches;
return true;
@@ -606,9 +606,9 @@ function SearchResults(name)
while (1) // search for last child
{
tmpElem = document.getElementById('Item'+newIndex+'_c'+n);
- if (tmpElem)
+ if (tmpElem)
{
- focusItem = tmpElem;
+ focusItem = tmpElem;
}
else // found it!
{