Author: Alex.Kolonitsky
Date: 2009-08-19 04:10:43 -0400 (Wed, 19 Aug 2009)
New Revision: 15210
Modified:
branches/community/3.3.X/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
Log:
simpleTogglePanel: doesn't became collapsed in ajax and server mode.
https://jira.jboss.org/jira/browse/RF-7704
Modified:
branches/community/3.3.X/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js
===================================================================
---
branches/community/3.3.X/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2009-08-19
06:14:00 UTC (rev 15209)
+++
branches/community/3.3.X/ui/simpleTogglePanel/src/main/resources/org/richfaces/renderkit/html/scripts/simpleTogglePanel.js 2009-08-19
08:10:43 UTC (rev 15210)
@@ -84,7 +84,11 @@
eventObj.rich = {component:this};
eventObj.rich.value = value;
+ try {
result = eventFunction.call(element, eventObj);
+ } catch (e) {
+ LOG.warn("Exception: "+e.Message + "\n[on"+eventName +
"]");
+ }
}