Author: abelevich
Date: 2009-02-20 10:23:41 -0500 (Fri, 20 Feb 2009)
New Revision: 12704
Modified:
trunk/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/togglePanel.js
Log:
find form fix
Modified:
trunk/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/togglePanel.js
===================================================================
---
trunk/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/togglePanel.js 2009-02-20
15:23:08 UTC (rev 12703)
+++
trunk/ui/togglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/togglePanel.js 2009-02-20
15:23:41 UTC (rev 12704)
@@ -40,7 +40,8 @@
}
TogglePanelManager.toggleOnServer = function (formId,clientId,stateId) {
- var parentForm = document.forms[formId];
+ var parentForm = document.getElementById(formId);
+ //document.forms[formId];
if(parentForm == null) return;
var params = {};
Show replies by date