make the code match the html

svn: r10574
This commit is contained in:
Eli Barzilay 2008-07-03 08:32:47 +00:00
parent 3a18f5b9a2
commit 12d4b12d91

View File

@ -46,7 +46,7 @@ function NormalizePath(path) {
function DoSearchKey(event, field, ver) {
var val = field.value;
if (event && event.keyCode == 13 && val.indexOf("...search...") < 0) {
if (event && event.keyCode == 13 && val.indexOf("...search manuals...") < 0) {
var u = GetCookie("PLT_Root."+ver, null);
if (u == null) u = "../"; // default: go up
location = u + "search/index.html" + "?q=" + escape(val);