[richfaces-issues] [JBoss JIRA] Created: (RF-7462) IE: Javascript error when opening a modal panel with an ExtendedDataTable

Siarhei Yarashevich (JIRA) jira-events at lists.jboss.org
Fri Jun 26 10:34:56 EDT 2009


IE: Javascript error when opening a modal panel with an ExtendedDataTable
-------------------------------------------------------------------------

                 Key: RF-7462
                 URL: https://jira.jboss.org/jira/browse/RF-7462
             Project: RichFaces
          Issue Type: Bug
          Components: browser compatibility
    Affects Versions: 3.3.1
         Environment: Internet Explorer 6.0
            Reporter: Siarhei Yarashevich
            Priority: Minor


A javascript error occurs when a modal panel with an ExtendedDataTable has been opened in Internet Explorer 6.
The error occures at line 12959 in ui.pack.js. Here is the current source of the script at this place.

}if(A>D){F[F.length-2].width-=(A-D)
}},update:function(A){this.createControls();
if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
this.fakeIeRow=null
}if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
this.fakeIeBodyRow=null
}}this.selectionManager.refreshEvents();
this.updateLayout();
this.selectionManager.restoreState()


Here is the way, how this script can be fixed:

}if(A>D && F[F.length-2].width > (A-D)){F[F.length-2].width-=(A-D)
}},update:function(A){this.createControls();
if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
this.fakeIeRow=null
}if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
this.fakeIeBodyRow=null
}}
if(this.selectionManager) {
	this.selectionManager.refreshEvents();
}
this.updateLayout();
if(this.selectionManager) {
	this.selectionManager.restoreState()
}


-- 
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

        



More information about the richfaces-issues mailing list