commit | ad4d4efac403eeba5d648f172aca46c3ad7962c5 | [log] [tgz] |
---|---|---|
author | Scott Main <smain@google.com> | Thu Sep 24 20:39:37 2009 -0700 |
committer | Scott Main <smain@google.com> | Thu Sep 24 20:41:29 2009 -0700 |
tree | 89771b6c423e68eebdd9ee08ee7b9e09f90b4196 | |
parent | 1da823869ccbc5f848cdd35d52d1630886288446 [diff] [blame] |
adds a parameter to the URL hash on all search queries. depends on change 3583, in order to handle the new parameter Change-Id: I86ead029371615243cfd809bd7cb2a2f2830c4be
diff --git a/tools/droiddoc/templates/assets/search_autocomplete.js b/tools/droiddoc/templates/assets/search_autocomplete.js index 929751f..f2e6f5c 100644 --- a/tools/droiddoc/templates/assets/search_autocomplete.js +++ b/tools/droiddoc/templates/assets/search_autocomplete.js
@@ -168,6 +168,6 @@ function submit_search() { var query = document.getElementById('search_autocomplete').value; - document.location = toRoot + 'search.html#q=' + query; // toRoot is initialized in android-developer-docs.js + document.location = '/search.html#q=' + query + '&t=0'; return false; }