You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by to...@apache.org on 2016/08/26 05:52:34 UTC

buildr git commit: Fix the custom google search widget on the website

Repository: buildr
Updated Branches:
  refs/heads/master 8996fca69 -> d6c9fa937


Fix the custom google search widget on the website


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/d6c9fa93
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/d6c9fa93
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/d6c9fa93

Branch: refs/heads/master
Commit: d6c9fa937c4947ef00072e92a9930450b3000031
Parents: 8996fca
Author: Antoine Toulme <an...@lunar-ocean.com>
Authored: Thu Aug 25 22:52:25 2016 -0700
Committer: Antoine Toulme <an...@lunar-ocean.com>
Committed: Thu Aug 25 22:52:25 2016 -0700

----------------------------------------------------------------------
 CHANGELOG                 | 1 +
 doc/_layouts/default.html | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/d6c9fa93/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 4f5eb43..57b879c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -26,6 +26,7 @@
 * Change: Remove JMock::REQUIRES, deprecated.
 * Change: Remove ScalaCheck::REQUIRES, deprecated.
 * Change: Change Eclipse Scala project natures from ch.epfl.lamp.sdt.core.scalanature to org.scala-ide.sdt.core.scalanature
+* Change: Fix the custom Google search widget on the website.
 * Added:  Travis badge to README.rdoc
 * Added:  Added Rubygems badges to README.rdoc
 * Added:  BUILDR-577 Allow remote repo to be added with http basic auth support. Submitted by Michael Guymon.

http://git-wip-us.apache.org/repos/asf/buildr/blob/d6c9fa93/doc/_layouts/default.html
----------------------------------------------------------------------
diff --git a/doc/_layouts/default.html b/doc/_layouts/default.html
index 90de68c..32824b3 100644
--- a/doc/_layouts/default.html
+++ b/doc/_layouts/default.html
@@ -63,10 +63,8 @@
             </ol>
           </li>
           <li>
-            <form action='http://www.google.com/cse' id='searchbox_003673095760649043902:ogcgrzu0l2y'>
-              <input name='cx' type='hidden' value='003673095760649043902:ogcgrzu0l2y'>
-              <input name='cof' type='hidden' value='FORID:0'>
-              <input name='q' size='20' type='text'>
+            <form action='http://www.google.com/' onsubmit="document.getElementById('gQuery').value += ' site:buildr.apache.org'">
+              <input name='q' size='20' type='text' id='gQuery'>
               <input name='sa' type='submit' value='Search'>
               <img alt='Google Custom Search' src='http://www.google.com/coop/images/google_custom_search_smnar.gif'>
             </form>