Author: vmolotkov
Date: 2008-04-30 13:32:35 -0400 (Wed, 30 Apr 2008)
New Revision: 8388
Modified:
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js
Log:
http://jira.jboss.com/jira/browse/RF-3313
Modified:
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js
===================================================================
---
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js 2008-04-30
16:43:00 UTC (rev 8387)
+++
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js 2008-04-30
17:32:35 UTC (rev 8388)
@@ -43,12 +43,13 @@
//when vertical scroll's displayed
if (this.contentTable.offsetWidth && ((this.contentTable.offsetWidth <=
this.contentDiv.clientWidth))) {
this.contentTable.style.width = this.contentDiv.clientWidth + "px";
- this.headerTable.style.width = this.contentDiv.offsetWidth + "px";
+ if (this.headerTable) {
+ this.headerTable.style.width = this.contentDiv.offsetWidth + "px";
+ }
this.contentDiv.style.overflowX = 'hidden';
}
} else {
this.contentTable.style.width = "100%";
- this.headerTable.style.width = "100%";
}
}