Author: abelevich
Date: 2011-01-24 11:46:58 -0500 (Mon, 24 Jan 2011)
New Revision: 21180
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
Log:
RF-10218 Menu group: attributes direction and jointPoint don't work
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2011-01-24
15:57:53 UTC (rev 21179)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2011-01-24
16:46:58 UTC (rev 21180)
@@ -54,20 +54,15 @@
var positionOffset = [
groupOptions[i].horizontalOffset,
groupOptions[i].verticalOffset];
- var onshow = groupOptions[i].onshow;
- var onhide = groupOptions[i].onhide;
-
- //var eventType = "mouseover";
-
if (null != groupId) {
- // var popup = new RichFaces.ui.Popup(groupId +
- // '_list', options);
this.groupList[groupId] = new
RichFaces.ui.MenuGroup(groupId,
{
rootMenuId : this.id,
- onshow : onshow,
- onhide : onhide,
- positionOffset: positionOffset
+ onshow : groupOptions[i].onshow,
+ onhide : groupOptions[i].onhide,
+ positionOffset: positionOffset,
+ jointPoint : groupOptions[i].jointPoint,
+ direction : groupOptions[i].direction
});
}
}
Show replies by date