Author: sergeyhalipov
Date: 2008-03-11 14:34:59 -0400 (Tue, 11 Mar 2008)
New Revision: 6723
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
http://jira.jboss.com/jira/browse/RF-1484
Modified:
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
---
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-11
18:25:18 UTC (rev 6722)
+++
trunk/ui/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2008-03-11
18:34:59 UTC (rev 6723)
@@ -120,6 +120,8 @@
if (this.type=="node")
this.tdhider.style.display="";
}
+
+ this.tdhider.component = this;
},
collapse: function(){
@@ -395,6 +397,14 @@
Event.observe(this.tablehider, "mouseout",
this.removeHoverStyles.bindAsEventListener(this), false);
}
+ },
+
+ doCollapse: function(e) {
+ PanelMenu.doCollapse(this.itemId);
+ },
+
+ doExpand: function(e) {
+ PanelMenu.doExpand(this.itemId);
}
};