Author: vmolotkov
Date: 2008-03-11 06:56:25 -0400 (Tue, 11 Mar 2008)
New Revision: 6677
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
Log:
list may open up
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-03-11
09:45:38 UTC (rev 6676)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-03-11
10:56:25 UTC (rev 6677)
@@ -15,13 +15,13 @@
var listHeight = parseInt(this.list.style.height) +
Richfaces.getBorderWidth(this.list.parentNode, "tb");
//var top = 0 ;//= -4;
- /*var top = comBottom;
+ //var top = comBottom;
if (parseInt(listHeight) > (docHeight - comBottom)) {
if (fieldTop > (docHeight - comBottom)) {
- top = fieldTop - parseInt(listHeight);
+ top = 0 - parseInt(listHeight);
//var upPos = true;
}
- }*/
+ }
this.listParent.style.top = top + "px";
this.listParent.style.left = 0 + "px";
Show replies by date