Author: pyaschenko
Date: 2009-03-10 08:29:54 -0400 (Tue, 10 Mar 2009)
New Revision: 12904
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
Log:
https://jira.jboss.org/jira/browse/RF-4354
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js
===================================================================
---
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2009-03-10
12:19:15 UTC (rev 12903)
+++
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/utils.js 2009-03-10
12:29:54 UTC (rev 12904)
@@ -494,7 +494,7 @@
var elements = []
element = element.parentNode;
- while (element && element!=window.document)
+ while (element && element!=window.document.body)
{
if (element.offsetWidth!=element.scrollWidth ||
element.offsetHeight!=element.scrollHeight)
{