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
This commit is contained in:
Scott Main
2009-09-24 20:39:37 -07:00
parent 1da823869c
commit ad4d4efac4

View File

@@ -168,6 +168,6 @@ function search_focus_changed(obj, focused)
function submit_search() { function submit_search() {
var query = document.getElementById('search_autocomplete').value; 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; return false;
} }