Author: Alex.Kolonitsky
Date: 2009-07-22 04:53:31 -0400 (Wed, 22 Jul 2009)
New Revision: 14973
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Box.js
Log:
extendedDataTable: bottom of the table is too wide under IE8
https://jira.jboss.org/jira/browse/RF-7173
Modified:
branches/community/3.3.X/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Box.js
===================================================================
---
branches/community/3.3.X/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Box.js 2009-07-21
15:30:27 UTC (rev 14972)
+++
branches/community/3.3.X/ui/scrollableDataTable/src/main/javascript/ClientUI/common/box/Box.js 2009-07-22
08:53:31 UTC (rev 14973)
@@ -72,7 +72,7 @@
getHeight: function() {
var el = this.getElement();
if(el.tagName.toLowerCase() != "body") {
- var h = el.offsetHeight;
+ var h = el.getHeight(); // offsetHeight;
return h>0 ? h : (this.element.boxHeight ? parseInt(this.element.boxHeight) : 0);
}