Francisco Diaz Trepat - gmail wrote:
> 1.3 beta 2.
>
> I don't think it's a bug.
>   
I don't know if it's related, but there's 100% a set focus bug between
1.2.6 and 1.3.  I've got a patch that works for me, but it will almost
certainly break something else...  If you have success with this please
report back..

Index: jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
===================================================================
--- jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js  
(revision 560279)
+++ jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js  
(working copy)
@@ -1702,6 +1702,7 @@
        
        setFocusOnElements: function (elements)
        {
+       /*
                for (var i=0; i< elements.length; i++)
                {
                    if ( typeof(elements[i].focusSet) == "undefined")
@@ -1710,6 +1711,7 @@
                         elements[i].focusSet = true;
                    }
                }
+               */
        },
        
        attachFocusEvent: function()



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to