Author: vmolotkov
Date: 2008-04-09 09:21:21 -0400 (Wed, 09 Apr 2008)
New Revision: 7703
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js
Log:
http://jira.jboss.com/jira/browse/RF-2894
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-09
13:14:28 UTC (rev 7702)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combolist.js 2008-04-09
13:21:21 UTC (rev 7703)
@@ -296,6 +296,7 @@
var curItems = this.getItems();
if (curItems != null && curItems.length != 0) {
this.doActiveItem(curItems[curItems.length - 1]);
+ this.scrollingUpToItem(curItems[curItems.length - 1]);
}
}
return;
@@ -310,6 +311,7 @@
var curItems = this.getItems();
if (curItems != null && curItems.length != 0) {
this.doActiveItem(curItems[0]);
+ this.scrollingUpToItem(curItems[0]);
}
}
return;