[richfaces-svn-commits] JBoss Rich Faces SVN: r820 - trunk/richfaces/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon May 21 09:16:52 EDT 2007
Author: sergeyhalipov
Date: 2007-05-21 09:16:52 -0400 (Mon, 21 May 2007)
New Revision: 820
Modified:
trunk/richfaces/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
Log:
Panel menu: JavaScript API for end-developers, doExpand(), doCollapse().
Modified: trunk/richfaces/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js
===================================================================
--- trunk/richfaces/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2007-05-21 12:58:33 UTC (rev 819)
+++ trunk/richfaces/panelmenu/src/main/resources/org/richfaces/renderkit/html/scripts/panelMenu.js 2007-05-21 13:16:52 UTC (rev 820)
@@ -287,7 +287,7 @@
}
};
-Richfaces.doExpand = function (id) {
+PanelMenu.doExpand = function (id) {
var group = PanelMenuStorage[id];
if (group && group.type && "node" == group.type) {
var parent = group.parentObj;
@@ -308,7 +308,7 @@
}
}
-Richfaces.doCollapse = function (id) {
+PanelMenu.doCollapse = function (id) {
var group = PanelMenuStorage[id];
if (group && group.type && "node" == group.type) {
if (group.expanded && new Function(group.onclose+";return true;")()){
More information about the richfaces-svn-commits
mailing list