stop rendering on IE while processing PPR
-----------------------------------------
Key: TRINIDAD-967
URL: https://issues.apache.org/jira/browse/TRINIDAD-967
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 1.0.6-core
Environment: IE 6/7
Reporter: Renzo Tomaselli
Hi, when a PPR is triggered from inside a popupPanel by clicking on any
enclosed link - then PPR stops on IE 6/7. This occurs in Page.js,
method_handlePprResponseFragment(), while trying to reposition the focus on the
originating link: the call on focus() never returns on IE.
This call occurs in:
if (refocusId) {
activeNode = doc.getElementById(refocusId);
if (activeNode && activeNode.focus) {
activeNode.focus(); // !!!!!
A simple fix is achieved by delaying the call such as in:
if (_agent && _agent.isIE)
window.setTimeout("document.getElementById('" + refocusId +
"').focus()", 100);
else
activeNode.focus();
-- Renzo
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.