Author: vmolotkov
Date: 2008-03-21 12:59:50 -0400 (Fri, 21 Mar 2008)
New Revision: 7072
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
trunk/ui/combobox/src/main/templates/combobox.jspx
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-21
16:46:11 UTC (rev 7071)
+++
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-03-21
16:59:50 UTC (rev 7072)
@@ -56,6 +56,7 @@
this.comboList.createIframe(this.combobox, listWidth, this.combobox.id,
"rich-combobox-list-width rich-combobox-list-scroll
rich-combobox-list-position");
}
+ this.combobox.component = this;
this.initHandlers();
},
@@ -372,7 +373,7 @@
* user's JavaScript API
*/
showList : function() {
- this.comboList.showWithDelay();
+ this.buttonClickHandler();
},
hideList : function() {
Modified: trunk/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/ui/combobox/src/main/templates/combobox.jspx 2008-03-21 16:46:11 UTC (rev 7071)
+++ trunk/ui/combobox/src/main/templates/combobox.jspx 2008-03-21 16:59:50 UTC (rev 7072)
@@ -293,7 +293,7 @@
}
}
- var combobox = new Richfaces.ComboBox( "#{clientId}combobox",
+ var combobox = new Richfaces.ComboBox( "#{clientId}",
"#{clientId}list",
"#{clientId}listParent",
"#{clientId}comboboxValue",