Author: sergeyhalipov
Date: 2008-01-12 07:04:13 -0500 (Sat, 12 Jan 2008)
New Revision: 5324
Modified:
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1844
Modified:
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
---
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-01-12
02:39:05 UTC (rev 5323)
+++
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-01-12
12:04:13 UTC (rev 5324)
@@ -187,6 +187,7 @@
if (nothingLabel) {
Element.hide(nothingLabel);
Event.stopObserving(nothingLabel, "click", this.onNothingLabelClick);
+ Event.stopObserving(this.element, "blur", this.onNothingLabelClick);
this.hide();
}
},
@@ -633,6 +634,7 @@
if (this.entryCount < 1) {
Element.show(nothingLabel);
Event.observe(nothingLabel, "click", this.onNothingLabelClick);
+ Event.observe(this.element, "blur", this.onNothingLabelClick);
this.show();
}
}