Author: abelevich
Date: 2008-03-30 11:31:15 -0400 (Sun, 30 Mar 2008)
New Revision: 7430
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
http://jira.jboss.com/jira/browse/RF-2836
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-30
15:17:25 UTC (rev 7429)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-30
15:31:15 UTC (rev 7430)
@@ -43,7 +43,7 @@
var el = (e.srcElement) ? e.srcElement : e.target;
if ((el.id == this.inplaceInput.id) || (e.type == "focus")) {
$super(e);
- } else {
+ } else if(this.tempValueKeeper.style.display != "none") {
this.tempValueKeeper.focus();
}
},