[richfaces-svn-commits] JBoss Rich Faces SVN: r2302 - trunk/framework/impl/src/main/javascript/ajaxjsf.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Aug 16 16:02:12 EDT 2007
Author: alexsmirnov
Date: 2007-08-16 16:02:12 -0400 (Thu, 16 Aug 2007)
New Revision: 2302
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
Check 'Event' variable before clear events cache
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-08-16 18:31:16 UTC (rev 2301)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-08-16 20:02:12 UTC (rev 2302)
@@ -712,7 +712,7 @@
A4J.AJAX.replaceViewState(inputs,newinputs);
}
- if (typeof Event.unloadElementsCache === "function") {
+ if (typeof Event != "undefined" typeof Event.unloadElementsCache === "function") {
Event.unloadElementsCache();
}
More information about the richfaces-svn-commits
mailing list