|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[gatewiki-commits] SF.net SVN: gatewiki:[1770] trunkRevision: 1770
http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1770&view=rev Author: ian_roberts Date: 2009-10-28 15:21:08 +0000 (Wed, 28 Oct 2009) Log Message: ----------- Disabled the automatic focus on the search box as this messes up keyboard navigation (you can't use the backspace key to go back if the focus is on a text field). Searching is a relatively infrequent task and it's not unreasonable or unusual for the user to have to click on the search box on a website before typing their query. Modified Paths: -------------- trunk/cow/grails-app/views/layouts/cowpage.gsp trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp Modified: trunk/cow/grails-app/views/layouts/cowpage.gsp =================================================================== --- trunk/cow/grails-app/views/layouts/cowpage.gsp 2009-10-28 13:58:47 UTC (rev 1769) +++ trunk/cow/grails-app/views/layouts/cowpage.gsp 2009-10-28 15:21:08 UTC (rev 1770) @@ -41,14 +41,9 @@ <g:layoutHead /> <g:javascript library="application" /> - <script type="text/javascript"> - function focusOnSearch(setFocus) { - if(setFocus) document.searchForm.searchBox.focus(); - } - </script> </head> - <body onload="focusOnSearch(${gate.cow.CowUtils.getConfig().gate.cow.solr.run})"> + <body> <div id="topBar"> <span id="topLogo"> <a href="${createLinkTo(dir:'/')}"><g:cowLogo/></a> Modified: trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp =================================================================== --- trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp 2009-10-28 13:58:47 UTC (rev 1769) +++ trunk/site-plugins/gau/grails-app/views/layouts/cowguest.gsp 2009-10-28 15:21:08 UTC (rev 1770) @@ -41,15 +41,9 @@ <g:layoutHead /> <g:javascript library="application" /> - <script type="text/javascript"> - function focusOnSearch(setFocus) { - if(setFocus) document.searchForm.searchBox.focus(); - } - </script> - </head> - <body onload="focusOnSearch(${gate.cow.CowUtils.getConfig().gate.cow.solr.run})"> + <body> <div id="topBar"> <span id="topLogo"> <a href="/"><img src="/plugins/gau-0.1/images/logo-colour.png" alt="GATE" border="0" height="76"></a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gatewiki-commits mailing list gatewiki-commits@... https://lists.sourceforge.net/lists/listinfo/gatewiki-commits |
| Free embeddable forum powered by Nabble | Forum Help |