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:
committed by
The Android Open Source Project
parent
29eafdea34
commit
88ee3f4e03
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user