summaryrefslogtreecommitdiffstats
path: root/src/search.js
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-10-27 20:10:16 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-10-27 20:10:16 (GMT)
commitd2aec1bac5dbf774dd640b36aa0a6d7c1288c570 (patch)
tree7b31e0941321a116a730c80e26726da9202178c3 /src/search.js
parenta62d9f8f1c2c97d454ff33bc1a4911d1362d9766 (diff)
downloadDoxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.zip
Doxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.tar.gz
Doxygen-d2aec1bac5dbf774dd640b36aa0a6d7c1288c570.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!
{