aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-07-08 02:23:16 (GMT)
committerRobin H. Johnson <robbat2@gentoo.org>2011-07-08 02:23:16 (GMT)
commitd94d92d9c504f3dd1a29a11d3c981a4d771f5660 (patch)
treebcb9f4d70bacc4e99c48f872a4f403c056476f8f
parentFix typo. (diff)
downloadpackages-d94d92d9c504f3dd1a29a11d3c981a4d771f5660.zip
packages-d94d92d9c504f3dd1a29a11d3c981a4d771f5660.tar.gz
packages-d94d92d9c504f3dd1a29a11d3c981a4d771f5660.tar.bz2
More CSE debug.
-rw-r--r--web/templates/layout.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/templates/layout.html b/web/templates/layout.html
index 0cd182a..8bf9671 100644
--- a/web/templates/layout.html
+++ b/web/templates/layout.html
@@ -88,8 +88,9 @@ def alpha_url(baseurl):
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
//options.enableSearchResultsOnly();
+ options.enableSearchResultsOnly("http://google.com/cse?cx="+cse_api_key, null, true);
options.setAutoComplete(true);
- options.enableSearchboxOnly("http://google.com/cse?cx="+cse_api_key, null, true);
+ //options.enableSearchboxOnly("http://google.com/cse?cx="+cse_api_key, null, true);
customSearchControl.draw('cse');
}, true);
</script>