Author: a.izobov
Date: 2007-06-14 08:45:11 -0400 (Thu, 14 Jun 2007)
New Revision: 1181
Modified:
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-217 fixed
Modified:
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
---
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-06-14
12:28:39 UTC (rev 1180)
+++
trunk/richfaces/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-06-14
12:45:11 UTC (rev 1181)
@@ -582,7 +582,7 @@
}
var layerLeft = right;
- var layerTop = top;
+ var layerTop = top - this.layer.firstChild.firstChild.offsetTop;
if (dir == 0) {
if (layerLeft + layerdim.width + labelOffset[0] - windowShift.left >=
windowWidth) {