Author: abelevich
Date: 2008-04-23 09:59:40 -0400 (Wed, 23 Apr 2008)
New Revision: 8094
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
Log:
http://jira.jboss.com/jira/browse/RF-2859
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-04-23
12:50:12 UTC (rev 8093)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-04-23
13:59:40 UTC (rev 8094)
@@ -88,5 +88,16 @@
if (this.selectedItem) {
this.doNormalItem(this.selectedItem);
}
+ },
+
+ doActiveItem : function($super, item) {
+ $super(item);
+ //
http://jira.jboss.com/jira/browse/RF-2859
+ item.style.width = this.list.scrollWidth + "px";
+ },
+
+ doNormalItem : function($super, item) {
+ $super(item);
+ item.style.width = "";
}
});