Author: sergeyhalipov
Date: 2008-01-11 12:16:44 -0500 (Fri, 11 Jan 2008)
New Revision: 5312
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1844
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 2008-01-11
16:32:50 UTC (rev 5311)
+++
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-01-11
17:16:44 UTC (rev 5312)
@@ -191,6 +191,7 @@
if (nothingLabel) {
Element.hide(nothingLabel);
Event.stopObserving(nothingLabel, "click", this.onNothingLabelClick);
+ Event.stopObserving(this.element, "blur", this.onNothingLabelClick);
this.hide();
}
},
@@ -638,6 +639,7 @@
if (this.entryCount < 1) {
Element.show(nothingLabel);
Event.observe(nothingLabel, "click", this.onNothingLabelClick);
+ Event.observe(this.element, "blur", this.onNothingLabelClick);
this.show();
}
}