OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da8238
)
adds a parameter to the URL hash on all search queries.
author
Scott Main
<smain@google.com>
Fri, 25 Sep 2009 03:39:37 +0000
(20:39 -0700)
committer
Scott Main
<smain@google.com>
Fri, 25 Sep 2009 03:41:29 +0000
(20:41 -0700)
depends on change 3583, in order to handle the new parameter
Change-Id: I86ead029371615243cfd809bd7cb2a2f2830c4be
tools/droiddoc/templates/assets/search_autocomplete.js
patch
|
blob
|
history
diff --git
a/tools/droiddoc/templates/assets/search_autocomplete.js
b/tools/droiddoc/templates/assets/search_autocomplete.js
index
929751f
..
f2e6f5c
100644
(file)
--- a/
tools/droiddoc/templates/assets/search_autocomplete.js
+++ b/
tools/droiddoc/templates/assets/search_autocomplete.js
@@
-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;
}