[
https://issues.jboss.org/browse/RF-11954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664788#comment-12664788
]
Christian Peter commented on RF-11954:
--------------------------------------
workaround:
ExtendedDataTable.DataTable.header.prototype.setColumnWidth = function (A, B) {
if (A >= this.getColumnsNumber()) {
return false;
} else {
if (!B) {
B = null;
}
sleep(500); // added for FF 10 compatibility
this.getColumns()[A].width = B;
}
}
function sleep(milliseconds) {
var start = new Date().getTime();
while ((new Date().getTime() - start) < milliseconds){
// Do nothing busy waiting...
}
}
add busy waiting. Sounds like a racecondition....
> RF 3.3.3 Columnresizing of ExtendedDataTables does not work properly anymore
> on Firefox 10 and newer.
> -----------------------------------------------------------------------------------------------------
>
> Key: RF-11954
> URL: https://issues.jboss.org/browse/RF-11954
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 3.3.3.Final
> Environment: Windows 7 with Firefox 10 or Firefox 13 (nightly)
> archlinux with Firefox 10
> Reporter: Christian Peter
>
> Using the showcase for richfaces 3.3.3....
> Take a look into:
> https://community.jboss.org/thread/194728?tstart=0
> I'm not sure if this is a RF issue or just a bug in the firefox javascript
> engine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.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