continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r562346 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
Date Fri, 03 Aug 2007 06:03:49 GMT
Author: evenisse
Date: Thu Aug  2 23:03:48 2007
New Revision: 562346

URL: http://svn.apache.org/viewvc?view=rev&rev=562346
Log:
[CONTINUUM-1086] Give the focus to the first form element

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp?view=diff&rev=562346&r1=562345&r2=562346
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/decorators/default.jsp
Thu Aug  2 23:03:48 2007
@@ -59,5 +59,14 @@
 </table>
 
 <%@ include file="/WEB-INF/jsp/navigations/DefaultBottom.jsp" %>
+
+<script language="javascript">
+    <!--
+    if (document.forms[0])
+    {
+        document.forms[0].elements[0].focus();
+    }
+    -->
+</script>
 </body>
 </html>



Mime
View raw message