forked from openkylin/platform_build
am ad4d4efa: adds a parameter to the URL hash on all search queries. depends on change 3583, in order to handle the new parameter
Merge commit 'ad4d4efac403eeba5d648f172aca46c3ad7962c5' into eclair * commit 'ad4d4efac403eeba5d648f172aca46c3ad7962c5': adds a parameter to the URL hash on all search queries.
This commit is contained in:
commit
0c44a2a9f3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue