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, component-tables
Affects Versions: 3.3.1
Environment: Internet Explorer 6.0
Reporter: Siarhei Yarashevich
Assignee: Andrey Markhel
Fix For: 3.3.2.CR1
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: