Author: vmolotkov
Date: 2008-03-11 07:35:33 -0400 (Tue, 11 Mar 2008)
New Revision: 6679
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
Log:
cosmetic changes
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
11:16:23 UTC (rev 6678)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-03-11
11:35:33 UTC (rev 6679)
@@ -14,12 +14,10 @@
var comBottom = fieldTop + height;
var listHeight = parseInt(this.list.style.height) +
Richfaces.getBorderWidth(this.list.parentNode, "tb");
- //var top = 0 ;//= -4;
- //var top = comBottom;
if (parseInt(listHeight) > (docHeight - comBottom)) {
if (fieldTop > (docHeight - comBottom)) {
+ //opens up
top = 0 - parseInt(listHeight);
- //var upPos = true;
}
}
Show replies by date