[richfaces-svn-commits] JBoss Rich Faces SVN: r2285 - trunk/framework/impl/src/main/javascript/prototype.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Aug 16 05:27:48 EDT 2007
Author: pyaschenko
Date: 2007-08-16 05:27:48 -0400 (Thu, 16 Aug 2007)
New Revision: 2285
Modified:
trunk/framework/impl/src/main/javascript/prototype/patches.js
Log:
Element.isNodeInDOMTree changed to Element.descendantOf in Element.isUninitialized
Modified: trunk/framework/impl/src/main/javascript/prototype/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/prototype/patches.js 2007-08-16 00:55:58 UTC (rev 2284)
+++ trunk/framework/impl/src/main/javascript/prototype/patches.js 2007-08-16 09:27:48 UTC (rev 2285)
@@ -52,6 +52,9 @@
if (!element.parentNode || element.document && element.document.readyState == "uninitialized") {
return true;
+ } else
+ {
+ return !Element.descendantOf(element, document.documentElement);
}
return false;
More information about the richfaces-svn-commits
mailing list