summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-28 16:44:49 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-28 16:44:49 (GMT)
commitc95b50542c519a66d6adbdc7031c5a5bafb75929 (patch)
treed7de8daa2848f29cfa1acc0a4a4706d44e8e348c /templates
parent63696c08425fc1662c5e76280e3cc74fb3769d80 (diff)
downloadDoxygen-c95b50542c519a66d6adbdc7031c5a5bafb75929.zip
Doxygen-c95b50542c519a66d6adbdc7031c5a5bafb75929.tar.gz
Doxygen-c95b50542c519a66d6adbdc7031c5a5bafb75929.tar.bz2
Bug 779141 - CREATE_SUBDIRS breaks SERVER_BASED_SEARCH
Added relPath also for the search (result) script (analogous to other fields in the query).
Diffstat (limited to 'templates')
-rw-r--r--templates/html/menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/html/menu.js b/templates/html/menu.js
index 89aaf57..433c15b 100644
--- a/templates/html/menu.js
+++ b/templates/html/menu.js
@@ -40,7 +40,7 @@ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
$('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
if (searchEnabled) {
if (serverSide) {
- $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.png" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>');
+ $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+relPath+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.png" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>');
} else {
$('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><span class="left"><img id="MSearchSelect" src="'+relPath+'search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/><input type="text" id="MSearchField" value="'+search+'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/></span><span class="right"><a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="'+relPath+'search/close.png" alt=""/></a></span></div></li>');
}