click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r1389366 - /click/trunk/click/framework/src/org/apache/click/control/Select.java
Date Mon, 24 Sep 2012 13:40:37 GMT
Author: medgar
Date: Mon Sep 24 13:40:37 2012
New Revision: 1389366

URL: http://svn.apache.org/viewvc?rev=1389366&view=rev
Log:
CLK-794

Modified:
    click/trunk/click/framework/src/org/apache/click/control/Select.java

Modified: click/trunk/click/framework/src/org/apache/click/control/Select.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/Select.java?rev=1389366&r1=1389365&r2=1389366&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/Select.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/Select.java Mon Sep 24 13:40:37
2012
@@ -1059,6 +1059,9 @@ public class Select extends Field {
         if (isMultiple()) {
             buffer.appendAttribute("multiple", "multiple");
         }
+        if (getFocus()) {
+            buffer.appendAttribute("autofocus", "autofocus");
+        }
 
         appendAttributes(buffer);
 



Mime
View raw message