[richfaces-svn-commits] JBoss Rich Faces SVN: r2602 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Aug 30 06:17:15 EDT 2007
Author: a.izobov
Date: 2007-08-30 06:17:15 -0400 (Thu, 30 Aug 2007)
New Revision: 2602
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-762
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-08-30 09:30:17 UTC (rev 2601)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-08-30 10:17:15 UTC (rev 2602)
@@ -227,9 +227,9 @@
document.body.insertBefore(this.update, document.body.firstChild);
this.initialized = true;
}
+ this.wasBlur = false;
if (this.active) {
this.wasScroll = false;
- this.wasBlur = false;
switch (event.keyCode) {
case Event.KEY_TAB:
case Event.KEY_RETURN:
@@ -374,6 +374,7 @@
onBlur: function(event) {
if (this.isUnloaded()) return;
+ this.wasBlur = true;
if (!this.active) return;
var offsets = RichFaces.Position.calcOffsets(this.update);
if (RichFaces.navigatorType() != "MSIE") {
@@ -390,7 +391,6 @@
}
// needed to make click events working
setTimeout(this.hide.bind(this), 250);
- this.wasBlur = true;
},
onScroll: function(event) {
More information about the richfaces-svn-commits
mailing list