Author: pyaschenko
Date: 2008-04-22 07:58:24 -0400 (Tue, 22 Apr 2008)
New Revision: 8051
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
http://jira.jboss.com/jira/browse/RF-2993
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-04-22 10:46:50 UTC
(rev 8050)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-04-22 11:58:24 UTC
(rev 8051)
@@ -890,6 +890,7 @@
if(focusElement){
LOG.debug("Set focus to control ");
focusElement.focus();
+ if (focusElement.select) focusElement.select();
} else {
LOG.warn("Element for set focus not found");
}