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:
@@ -168,6 +168,6 @@ function search_focus_changed(obj, focused)
|
||||
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user