]
Jan Pernica updated RF-8141:
----------------------------
Attachment: extended-data-table.js
My quick fix of this problem. Not too nice but works.
IE 8: resize of invisible extended data table leads to JavaScript
error in calculateWidthsFromRatios
----------------------------------------------------------------------------------------------------
Key: RF-8141
URL:
https://jira.jboss.org/browse/RF-8141
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Environment: IE 8, JBoss 5.1.0 GA, Liferay 5.2.3, JBoss Portlet Bridge 1.0.0.CR2
Reporter: Andreas Schank
Assignee: Nick Belaevski
Priority: Minor
Fix For: Future_3.X
Attachments: extended-data-table.js
While re-rendering a page with an hidden extended data table IE8 throws a JavaScript
error in calculateWidthsFromRatios (extended-data-table.js) while resetting the width of
the last column.
Since the total width of the extended data table is set to 0 a too large width is to be
subtracted from the last colum which leads to an error.
I do not exactly know why the table will be resized (I guess because it is in a portlet
temporarily hidden) but subtraction from the last column (or resizing the component) could
be checked for the case that the value to be sutracted is too large or maybe the function
skipped completely if maxWidth is 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: