Author: abelevich
Date: 2008-04-21 09:30:36 -0400 (Mon, 21 Apr 2008)
New Revision: 7994
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js
Log:
http://jira.jboss.com/jira/browse/RF-3070
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js 2008-04-21
12:14:27 UTC (rev 7993)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js 2008-04-21
13:30:36 UTC (rev 7994)
@@ -150,8 +150,8 @@
rowsAmount = this.getItems().length;
currentItemsHeight = itemHeight * rowsAmount;
- if (this.height && (parseInt(this.height) < currentItemsHeight)) {
- if (this.height < currentItemsHeight) {
+ if (this.height) {
+ if (parseInt(this.height) > currentItemsHeight) {
height = currentItemsHeight;
}
} else {