Author: nbelaevski
Date: 2008-06-09 18:40:17 -0400 (Mon, 09 Jun 2008)
New Revision: 8960
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-3646
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-06-09
16:10:10 UTC (rev 8959)
+++
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-06-09
22:40:17 UTC (rev 8960)
@@ -171,7 +171,9 @@
this.wasScroll = false;
return;
}
- Event.stopObserving(this.overflow, "scroll", this.onScrollListener)
+ if (this.overflow) {
+ Event.stopObserving(this.overflow, "scroll", this.onScrollListener);
+ }
}
this.stopIndicator();
if (Element.getStyle(this.update, 'display')