AI 149729: fix search functionatilty for offline docs...

the file references weren't using the local root.
  BUG=1909300

Automated import of CL 149729
This commit is contained in:
Scott Main
2009-06-10 23:40:24 -07:00
committed by The Android Open Source Project
parent 29eafdea34
commit 88ee3f4e03

View File

@@ -168,6 +168,6 @@ function search_focus_changed(obj, focused)
function submit_search() {
var query = document.getElementById('search_autocomplete').value;
document.location = '/search.html#q=' + query;
document.location = toRoot + 'search.html#q=' + query; // toRoot is initialized in android-developer-docs.js
return false;
}