[richfaces-svn-commits] JBoss Rich Faces SVN: r12099 - trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Jan 5 10:30:56 EST 2009
Author: nbelaevski
Date: 2009-01-05 10:30:56 -0500 (Mon, 05 Jan 2009)
New Revision: 12099
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/events.js
Log:
https://jira.jboss.org/jira/browse/RF-5503
Modified: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/events.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/events.js 2009-01-05 15:25:33 UTC (rev 12098)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/events.js 2009-01-05 15:30:56 UTC (rev 12099)
@@ -117,12 +117,21 @@
return {
event: eventObj,
+
fire: function() {
if (component.fireEvent) {
component.fireEvent("on" + type, this.event);
} else {
component.dispatchEvent(this.event);
}
+ },
+
+ destroy: function() {
+ if (props) {
+ for (var name in props) {
+ this.event[name] = undefined;
+ }
+ }
}
};
}
More information about the richfaces-svn-commits
mailing list