parse a label argument too
svn: r10905
This commit is contained in:
parent
49a015e890
commit
42cf9ddda1
|
@ -23,6 +23,9 @@ if (location.search.length > 0) {
|
|||
// an empty "hq=" can be used to clear the cookie
|
||||
if (param[0] == "hq") {
|
||||
SetCookie("PLT_PreQuery", ((param.length==2) ? unescape(param[1]) : ""));
|
||||
} else if (param[0] == "label") {
|
||||
SetCookie("PLT_PreQueryLabel",
|
||||
((param.length==2) ? unescape(param[1]) : ""));
|
||||
} else {
|
||||
newsearch = (newsearch == null)
|
||||
? paramstrs[i] : (newsearch + "&" + paramstrs[i]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user