IE 8: resize of invisible extended data table leads to JavaScript error in 
calculateWidthsFromRatios
----------------------------------------------------------------------------------------------------

                 Key: RF-8141
                 URL: https://jira.jboss.org/jira/browse/RF-8141
             Project: RichFaces
          Issue Type: Bug
          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


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: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to