Author: vmolotkov
Date: 2008-03-19 11:05:29 -0400 (Wed, 19 Mar 2008)
New Revision: 6952
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
http://jira.jboss.com/jira/browse/RF-2566
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
---
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-19
15:03:10 UTC (rev 6951)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-19
15:05:29 UTC (rev 6952)
@@ -365,7 +365,18 @@
getCurrentWidth : function() {
return this.combobox.firstChild.offsetWidth;
- }
+ },
+
+ /**
+ * user's JavaScript API
+ */
+ showList : function() {
+ this.comboList.showWithDelay();
+ },
+
+ hideList : function() {
+ this.comboList.hideWithDelay();
+ }
};