make the code match the html

svn: r10574

original commit: 12d4b12d919bec4fee016c418a31727fba675bf0
This commit is contained in:
Eli Barzilay 2008-07-03 08:32:47 +00:00
parent 857ccd4fc6
commit 1c8e0de760

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);