Author: nbelaevski
Date: 2007-08-10 15:22:16 -0400 (Fri, 10 Aug 2007)
New Revision: 2207
Modified:
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js
Log:
http://jira.jboss.com/jira/browse/RF-582 fixed
Modified:
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js
===================================================================
---
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js 2007-08-10
17:29:41 UTC (rev 2206)
+++
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js 2007-08-10
19:22:16 UTC (rev 2207)
@@ -53,12 +53,22 @@
}
},
- processPreventLostFocus: function() {
+ processPreventLostFocus: function(event) {
+ // RF-582 fix
+ if (Richfaces.eventIsSynthetic(event)) {
+ return ;
+ }
+
this.inFocus = true;
this.preventLostFocus = true;
},
- processLostFocus: function() {
+ processLostFocus: function(event) {
+ // RF-582 fix
+ if (Richfaces.eventIsSynthetic(event)) {
+ return ;
+ }
+
if (!this.preventLostFocus) {
this.lostFocus();
} else {