am 88ee3f4e
: AI 149729: fix search functionatilty for offline docs... the file references weren\'t using the local root. BUG=1909300
Merge commit '88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1' into donut * commit '88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1': AI 149729: fix search functionatilty for offline docs...
This commit is contained in:
committed by
The Android Open Source Project
commit
ed3a2d303d
@@ -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