You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by kn...@apache.org on 2007/04/14 15:16:29 UTC

svn commit: r528806 - /incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js

Author: knopp
Date: Sat Apr 14 06:16:29 2007
New Revision: 528806

URL: http://svn.apache.org/viewvc?view=rev&rev=528806
Log:
Focus fix

Modified:
    incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js

Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js?view=diff&rev=528806&r1=528805&r2=528806
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js Sat Apr 14 06:16:29 2007
@@ -888,7 +888,7 @@
 			Wicket.Focus.attachFocusEvent();
 			// set the focus to the last component
 			
-//			window.setTimeout(function() { Wicket.Focus.requestFocus(); }, 0);	
+			Wicket.Focus.requestFocus();
 			this.request.done();
 			this.successHandler();
 			// continue to next step (which should make the processing stop, as success should be the final step)