From ad4d4efac403eeba5d648f172aca46c3ad7962c5 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 24 Sep 2009 20:39:37 -0700 Subject: [PATCH] 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 --- tools/droiddoc/templates/assets/search_autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/droiddoc/templates/assets/search_autocomplete.js b/tools/droiddoc/templates/assets/search_autocomplete.js index 929751fa7..f2e6f5c03 100644 --- 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; }