Skip to content
Snippets Groups Projects
Commit 883c5bbf authored by Brett Bieber's avatar Brett Bieber
Browse files

Remove local callback due to inconsistent results.

parent 6c1f01c2
No related branches found
No related tags found
No related merge requests found
......@@ -22,17 +22,15 @@ function searchInit() {
}
UNL_Search.unl_search = new google.search.CustomSearchControl("015236299699564929946:nk1siew10ie");
UNL_Search.unl_search.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
UNL_Search.unl_search.setSearchCompleteCallback(UNL_Search.handleUNLResults)
UNL_Search.unl_search.draw('unl_results');
if (UNL_Search.do_local_search) {
UNL_Search.local_search = new google.search.CustomSearchControl(UNL_Search.local_search_context);
UNL_Search.local_search.setResultSetSize('small')
UNL_Search.local_search.setSearchCompleteCallback(UNL_Search.handleLocalResults)
UNL_Search.local_search.setResultSetSize('small');
UNL_Search.local_search.draw('local_results');
}
var gSearchForm = new GSearchForm(false, document.getElementById("searchform"));
gSearchForm.setOnSubmitCallback(UNL_Search, UNL_Search.doQuery);
gSearchForm.input.value = (UNL_Search.query ? UNL_Search.query : "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment